From ae08bcc4eec178892ea1b75d3afe3b0107507a1c Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Sat, 11 Jul 2026 11:19:54 -0700 Subject: [PATCH] docs(anthropic): note the two provider params' roles in _map_reasoning_effort --- litellm/llms/anthropic/chat/transformation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.py index df6d85b953e..a85ac4ca292 100644 --- a/litellm/llms/anthropic/chat/transformation.py +++ b/litellm/llms/anthropic/chat/transformation.py @@ -1165,6 +1165,7 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig): custom_llm_provider: str, llm_provider: str = "anthropic", ) -> Optional[AnthropicThinkingParam]: + """Capability probes read the cost map under ``custom_llm_provider``; ``llm_provider`` only tags raised exceptions.""" if reasoning_effort is None or reasoning_effort == "none": return None if AnthropicConfig._is_adaptive_thinking_model(model, custom_llm_provider):