From 25df9421f954c422cac96a68273a8bb72b155f7a Mon Sep 17 00:00:00 2001 From: chihlasm Date: Sat, 21 Feb 2026 03:23:33 -0500 Subject: [PATCH] fix: correct Anthropic model ID to full dated version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit claude-haiku-4-5 is not a valid model alias — Anthropic requires the full dated model ID claude-haiku-4-5-20251001. Co-Authored-By: Claude Sonnet 4.6 --- backend/app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/core/config.py b/backend/app/core/config.py index 1f7ce77c..184795c0 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -74,7 +74,7 @@ class Settings(BaseSettings): # AI Flow Builder ANTHROPIC_API_KEY: Optional[str] = None - AI_MODEL: str = "claude-haiku-4-5" + AI_MODEL: str = "claude-haiku-4-5-20251001" AI_CONVERSATION_TTL_HOURS: int = 24 AI_MAX_CALLS_PER_FLOW: int = 10 AI_REQUEST_TIMEOUT_SECONDS: int = 45