feat: load editable prompts from markdown

This commit is contained in:
Azimkin
2026-09-19 16:25:19 +02:00
parent 110b9fee0b
commit 7272147270
10 changed files with 201 additions and 25 deletions

View File

@@ -11,6 +11,7 @@ from llm_trade_bot.config import (
BraveConfig,
BybitConfig,
DeepSeekConfig,
PromptsConfig,
RiskConfig,
ScannerConfig,
ScheduleConfig,
@@ -51,6 +52,7 @@ def make_config(database_path: Path) -> AppConfig:
BybitConfig("key", "secret"),
TelegramConfig(1, "hash", "token", frozenset({1})),
BraveConfig("key"),
PromptsConfig(database_path.parent / "prompts.md"),
ScheduleConfig(ZoneInfo("Europe/Warsaw"), (time(9), time(21))),
ScannerConfig(),
RiskConfig(),