mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
docs(anthropic): note the two provider params' roles in _map_reasoning_effort
This commit is contained in:
parent
41b599b2d8
commit
ae08bcc4ee
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue