Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Update litellm/llms/anthropic/chat/transformation.py

jtsaw093a67f7745e
diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.py
index 53f4bd2e5e4..d46714a0c6b 100644
--- a/litellm/llms/anthropic/chat/transformation.py
+++ b/litellm/llms/anthropic/chat/transformation.py
@@ -1375,7 +1375,7 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig):
)
if effort == "max" and not self._is_claude_4_6_model(model):
raise ValueError(
- f"effort='max' is only supported by Claude Opus 4.6. Got model: {model}"
+ f"effort='max' is only supported by Claude 4.6 models (Opus 4.6, Sonnet 4.6). Got model: {model}"
)
data["output_config"] = output_config