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
test(gemini): stub API key for format param tests
user2911d99d77ed
diff --git a/tests/test_litellm/test_main.py b/tests/test_litellm/test_main.pyindex 40a3692ac69..f538bc4e2f0 100644--- a/tests/test_litellm/test_main.py+++ b/tests/test_litellm/test_main.py@@ -213,6 +213,8 @@ async def test_url_with_format_param(model, sync_mode, monkeypatch):}],}+ if model.startswith("gemini/"):+ args["api_key"] = "test-api-key"with patch.object(client, "post", new=MagicMock()) as mock_client:try:if sync_mode: