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
fix mypy issue
Sameer Kankutefa26c6eeec6a
diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.pyindex 7f507e8217c..02b8d952445 100644--- a/litellm/llms/anthropic/chat/transformation.py+++ b/litellm/llms/anthropic/chat/transformation.py@@ -1273,7 +1273,6 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig):tool_calls: List[ChatCompletionToolCallChunk] = []web_search_results: Optional[List[Any]] = Nonetool_results: Optional[List[Any]] = None- context_management: Optional[List[Any]] = Nonecompaction_blocks: Optional[List[Any]] = Nonefor idx, content in enumerate(completion_response["content"]):if content["type"] == "text":