修正北京时间并更换新闻候选源
This commit is contained in:
+2
-1
@@ -8,6 +8,7 @@ from sqlalchemy.orm import Session
|
||||
|
||||
from app.agent.report_writer import ReportWriter
|
||||
from app.core.config import Settings
|
||||
from app.core.timezone import beijing_today
|
||||
from app.db.repository import AgentRepository
|
||||
from app.integrations.github_client import GitHubHotProjectClient
|
||||
from app.integrations.news_search_client import NewsSearchClient
|
||||
@@ -30,7 +31,7 @@ class AgentRunner:
|
||||
|
||||
def run_daily(self, run_date: Optional[date] = None) -> RunResponse:
|
||||
# Runner统一编排候选采集、模型研判和持久化,保证一次运行只有一种业务路径。
|
||||
current_date = run_date or date.today()
|
||||
current_date = run_date or beijing_today()
|
||||
request_payload = {
|
||||
"run_date": current_date.isoformat(),
|
||||
"mode": "grok_agent",
|
||||
|
||||
Reference in New Issue
Block a user