feat(agent-office): add run_ai_news command for manual trigger

This commit is contained in:
2026-05-13 23:59:30 +09:00
parent 2a552d3cc8
commit 9f91dae1a4

View File

@@ -341,6 +341,10 @@ class StockAgent(BaseAgent):
await self.on_screener_schedule() await self.on_screener_schedule()
return {"ok": True, "message": "스크리너 실행 트리거 완료"} return {"ok": True, "message": "스크리너 실행 트리거 완료"}
if command == "run_ai_news":
await self.on_ai_news_schedule()
return {"ok": True, "message": "AI 뉴스 분석 트리거 완료"}
if command == "test_telegram": if command == "test_telegram":
from ..telegram import send_agent_message from ..telegram import send_agent_message
result = await send_agent_message( result = await send_agent_message(