add claude 4.5 haiku support (#3763)

Co-authored-by: Suchintan <suchintan@users.noreply.github.com>
This commit is contained in:
greg niemeyer
2025-10-19 19:23:22 -07:00
committed by GitHub
parent bcb3414561
commit de5a55bd66
3 changed files with 19 additions and 0 deletions

View File

@@ -325,6 +325,16 @@ if settings.ENABLE_ANTHROPIC:
max_completion_tokens=64000,
),
)
LLMConfigRegistry.register_config(
"ANTHROPIC_CLAUDE4.5_HAIKU",
LLMConfig(
"anthropic/claude-haiku-4-5-20251001",
["ANTHROPIC_API_KEY"],
supports_vision=True,
add_assistant_prefix=True,
max_completion_tokens=64000,
),
)
if settings.ENABLE_BEDROCK:
# Supported through AWS IAM authentication