Skip to content

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]

fix(types): qualify supports_anthropic_thinking_payload with ReadOnly

milan38ffa6736f1c
diff --git a/litellm/types/utils.py b/litellm/types/utils.py
index 1abafb15ebd..e07edde68c5 100644
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@ -165,7 +165,7 @@ class ProviderSpecificModelInfo(TypedDict, total=False):
supports_max_reasoning_effort: bool | None
supports_output_config: bool | None
supports_image_size: bool | None
- supports_anthropic_thinking_payload: bool | None
+ supports_anthropic_thinking_payload: ReadOnly[bool | None]
bedrock_output_config_effort_ceiling: Literal["low", "medium", "high", "max", "xhigh"] | None
bedrock_converse_supports_strict_tools: bool | None