mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix: remove inconsistent haiku_4_5 underscore variant from structured output allowlist
The underscore variant has no evidence of real usage in the codebase or Anthropic's model naming conventions. All existing model name formats (standard, Bedrock, provider-prefixed) contain the dash form 'haiku-4-5' as a substring, which is already covered. The underscore entry breaks the pattern set by all other model entries (sonnet, opus) which only use dash and dot forms. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0d29da0af5
commit
610d1c9bad
1 changed files with 0 additions and 1 deletions
|
|
@ -991,7 +991,6 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig):
|
|||
for substring in {
|
||||
"haiku-4-5",
|
||||
"haiku-4.5",
|
||||
"haiku_4_5",
|
||||
"sonnet-4.5",
|
||||
"sonnet-4-5",
|
||||
"opus-4.1",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue