Fix: [4.0.1] Claude 모델 ID 수정 — claude-sonnet-4-20250514 → claude-sonnet-4-6
All checks were successful
news-summary-bot-cicd / build_push_deploy (push) Successful in 28m6s

존재하지 않는 모델 ID로 인해 404 not_found_error 발생.
Anthropic 공식 alias인 claude-sonnet-4-6으로 교체.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
sm4640
2026-06-19 18:28:50 +09:00
parent b34bc1f582
commit ef24881a52

View File

@@ -42,7 +42,7 @@ SYSTEM_PROMPT = """너는 뉴스/경제 유튜브 영상을 시청하고 핵심
def summarize(transcript: str, title: str) -> dict:
message = client.messages.create(
model="claude-sonnet-4-20250514",
model="claude-sonnet-4-6",
max_tokens=2048,
system=SYSTEM_PROMPT,
messages=[