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
fixes - anthropic messages interface
Ishaan Jaff8499a88e4a45
diff --git a/litellm/llms/anthropic/experimental_pass_through/messages/handler.py b/litellm/llms/anthropic/experimental_pass_through/messages/handler.pyindex fd7a3d60a86..8b4c947a7ce 100644--- a/litellm/llms/anthropic/experimental_pass_through/messages/handler.py+++ b/litellm/llms/anthropic/experimental_pass_through/messages/handler.py@@ -141,8 +141,6 @@ async def anthropic_messages(},custom_llm_provider=_custom_llm_provider,)- litellm_logging_obj.model_call_details.update(kwargs)-# Prepare request bodyrequest_body = locals().copy()request_body = {@@ -157,6 +155,7 @@ async def anthropic_messages(request_body["stream"] = streamrequest_body["model"] = modellitellm_logging_obj.stream = stream+ litellm_logging_obj.model_call_details.update(request_body)# Make the requestrequest_url = anthropic_messages_provider_config.get_complete_url(