暂停情报采集任务

This commit is contained in:
Codex
2026-07-10 13:27:53 +08:00
parent 0a045a0c4b
commit bc4bbe0dde
8 changed files with 45 additions and 63 deletions
+3 -1
View File
@@ -14,7 +14,7 @@ class Settings(BaseSettings):
)
llm_base_url: str = "https://api.zayuapi.com/v1"
llm_api_key: str = ""
llm_model: str = "grok-4.3"
llm_model: str = "grok-4.5"
llm_timeout_seconds: int = 180
llm_max_tokens: int = 8000
news_recent_days: int = 3
@@ -24,6 +24,8 @@ class Settings(BaseSettings):
github_min_stars: int = 20
github_max_projects: int = 40
agent_timezone: str = "Asia/Shanghai"
# 采集开关统一控制定时任务和手动触发,暂停期默认不调用外部模型。
agent_enabled: bool = False
agent_interval_minutes: int = 30
report_dir: Path = Path("reports")
log_file: Path = Path("logs/app.log")