The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
style(anthropic): keep mutable-ok annotation within ruff format width
Devin AIb8dd27a77fda
diff --git a/litellm/llms/anthropic/common_utils.py b/litellm/llms/anthropic/common_utils.pyindex ede93c6deb2..f2fcbc6c232 100644--- a/litellm/llms/anthropic/common_utils.py+++ b/litellm/llms/anthropic/common_utils.py@@ -498,7 +498,7 @@ class AnthropicModelInfo(BaseLLMModelInfo):@staticmethoddef translate_legacy_thinking_for_adaptive_model(model: str,- optional_params: MutableMapping[str, object], # mutable-ok: in-place out-param, as in maybe_drop_disabled_thinking+ optional_params: MutableMapping[str, object], # mutable-ok: in-place out-param like the sibling helperscustom_llm_provider: str,) -> None:"""Translate legacy ``thinking.type=enabled`` to adaptive for the