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 mypy issue

Sameer Kankute2e0715bd6179
diff --git a/litellm/types/llms/anthropic.py b/litellm/types/llms/anthropic.py
index 85d419ccc7d..fedf419efd6 100644
--- a/litellm/types/llms/anthropic.py
+++ b/litellm/types/llms/anthropic.py
@@ -613,7 +613,7 @@ ANTHROPIC_API_ONLY_HEADERS = { # fails if calling anthropic on vertex ai / bedr
class AnthropicThinkingParam(TypedDict, total=False):
- type: Literal["enabled"]
+ type: Literal["enabled", "adaptive"]
budget_tokens: int