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): update deprecated gemini embedding model (#20621)
shin-bot-litellm537f7af583e5
diff --git a/tests/local_testing/test_embedding.py b/tests/local_testing/test_embedding.pyindex d46def7f3ae..48d535fe450 100644--- a/tests/local_testing/test_embedding.py+++ b/tests/local_testing/test_embedding.py@@ -932,12 +932,12 @@ async def test_gemini_embeddings(sync_mode, input):litellm.set_verbose = Trueif sync_mode:response = litellm.embedding(- model="gemini/text-embedding-004",+ model="gemini/gemini-embedding-001",input=input,)else:response = await litellm.aembedding(- model="gemini/text-embedding-004",+ model="gemini/gemini-embedding-001",input=input,)print(f"response: {response}")