增加大模型

This commit is contained in:
dekun
2026-05-26 09:38:23 +08:00
parent e0ec3f87a9
commit 27031ab676
14 changed files with 797 additions and 69 deletions
+6 -1
View File
@@ -17,7 +17,7 @@ class Settings(BaseSettings):
top_n: int = 30
volume_threshold: float = 10_000_000
change_threshold: float = 5.0
refresh_minutes: int = 5
refresh_minutes: int = 240
host: str = "127.0.0.1"
port: int = 21450
db_path: str = str(ROOT_DIR / "data" / "monitor.db")
@@ -37,6 +37,11 @@ class Settings(BaseSettings):
proxy_enabled: bool = False
proxy_url: str = "socks5h://192.168.8.4:1081"
proxy_for: str = "binance" # binance | wecom | all
llm_base_url: str = "http://op.bz121.com"
llm_api_key: str = ""
llm_model: str = "gemma4:e4b"
llm_symbol_interval_sec: int = 180
llm_auto_on_startup: bool = True
settings = Settings()