[2026-05-15] claude_morning 재설계 - Claude Code headless 방식으로 변경
- morning.py: AI 분석 제거, 데이터 수집 전용으로 단순화 (뉴스 크롤링 + KIS 수급 수집 → 파일 저장) - main.py: morning 관련 잘못된 연결 제거 - requirements.txt: anthropic 제거 (Claude Code 자체가 AI) - ~/.claude/commands/morning.md: /morning 슬래시 커맨드 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-6
@@ -450,13 +450,8 @@ async def run():
|
||||
)
|
||||
bot.risk.set_risk_level(ctx.get("risk_level", "보통"))
|
||||
|
||||
# 08:30 장전 분석 → 유니버스 갱신
|
||||
# 08:30 유니버스 갱신 (claude_morning은 Claude Code headless가 별도 실행)
|
||||
elif now == "08:30":
|
||||
try:
|
||||
from app.ai.morning import main as claude_morning
|
||||
await claude_morning()
|
||||
except Exception as e:
|
||||
logger.error(f"claude_morning 실패 (계속 진행): {e}")
|
||||
await bot.update_universe()
|
||||
|
||||
# 08:50 목표가 계산
|
||||
|
||||
Reference in New Issue
Block a user