docs(anthropic): note the two provider params' roles in _map_reasoning_effort

This commit is contained in:
mateo-berri 2026-07-11 11:19:54 -07:00
parent 41b599b2d8
commit ae08bcc4ee

View file

@ -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):