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
chore: apply black formatting to experimental_pass_through transformation
joereyna6f6e23a7b0b6
diff --git a/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py b/litellm/llms/anthropic/experimental_pass_through/messages/transformation.pyindex 2e0b58bc49a..9b60a58260b 100644--- a/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py+++ b/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py@@ -126,7 +126,9 @@ class AnthropicMessagesConfig(BaseAnthropicMessagesConfig):litellm_params: dict,stream: Optional[bool] = None,) -> str:- api_base = AnthropicModelInfo.get_api_base(api_base) or "https://api.anthropic.com"+ api_base = (+ AnthropicModelInfo.get_api_base(api_base) or "https://api.anthropic.com"+ )if not api_base.endswith("/v1/messages"):api_base = f"{api_base}/v1/messages"return api_base