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 test
Ishaan Jaffd7afeee71cc8
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 abe8b29edf7..000512d9451 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@@ -1293,7 +1293,10 @@ class VertexLLM(BaseLLM):_async_client_params = {}if timeout:_async_client_params["timeout"] = timeout- client = _get_async_httpx_client(params=_async_client_params)+ if client is None or not isinstance(client, AsyncHTTPHandler):+ client = _get_async_httpx_client(params=_async_client_params)+ else:+ client = client # type: ignore## LOGGINGlogging_obj.pre_call(input=messages,