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

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
jtsaw
2026-02-19 12:48:37 -08:00
committed by GitHub
co-authored by greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
parent 063563608d
commit 093a67f774
@@ -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