From 093a67f7745e13f2b0bb12c7f4f6ed93028c4574 Mon Sep 17 00:00:00 2001 From: jtsaw <166962251+jtsaw@users.noreply.github.com> Date: Thu, 19 Feb 2026 12:48:37 -0800 Subject: [PATCH] Update litellm/llms/anthropic/chat/transformation.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- litellm/llms/anthropic/chat/transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.py index 53f4bd2e5e..d46714a0c6 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