mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix: added thinking and reasoning support for all claude 4+ models on Bedrock
This commit is contained in:
parent
291e6e1841
commit
4f5a7a3d54
2 changed files with 4 additions and 1 deletions
|
|
@ -199,7 +199,9 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig):
|
|||
|
||||
if (
|
||||
"claude-3-7-sonnet" in model
|
||||
or AnthropicConfig._is_claude_4_6_model(model)
|
||||
or "claude-sonnet-4" in model
|
||||
or "claude-opus-4" in model
|
||||
or "claude-haiku-4" in model
|
||||
or supports_reasoning(
|
||||
model=model,
|
||||
custom_llm_provider=self.custom_llm_provider,
|
||||
|
|
|
|||
|
|
@ -566,6 +566,7 @@ class AmazonConverseConfig(BaseConfig):
|
|||
"claude-3-7" in model
|
||||
or "claude-sonnet-4" in model
|
||||
or "claude-opus-4" in model
|
||||
or "claude-haiku-4" in model
|
||||
or "deepseek.r1" in model
|
||||
or supports_reasoning(
|
||||
model=model,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue