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
(gemini): Fix Cloudflare AI Gateway typo. (#5429)
David Manouchehri47e664a5da11
diff --git a/litellm/llms/vertex_ai_and_google_ai_studio/gemini/vertex_and_google_ai_studio_gemini.py b/litellm/llms/vertex_ai_and_google_ai_studio/gemini/vertex_and_google_ai_studio_gemini.pyindex ab644485d47..37434fbd47b 100644--- a/litellm/llms/vertex_ai_and_google_ai_studio/gemini/vertex_and_google_ai_studio_gemini.py+++ b/litellm/llms/vertex_ai_and_google_ai_studio/gemini/vertex_and_google_ai_studio_gemini.py@@ -1206,7 +1206,7 @@ class VertexLLM(BaseLLM):api_base is not None): # for cloudflare ai gateway - https://github.com/BerriAI/litellm/issues/4317if custom_llm_provider == "gemini":- url = "{}/{}".format(api_base, endpoint)+ url = "{}:{}".format(api_base, endpoint)auth_header = (gemini_api_key # cloudflare expects api key as bearer token)