Skip to content

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]

fix test test_vertexai_multimodal_embedding

Ishaan Jaff2c7f5a0d2754
diff --git a/litellm/tests/test_amazing_vertex_completion.py b/litellm/tests/test_amazing_vertex_completion.py
index 75868a2f424..e142f5696a6 100644
--- a/litellm/tests/test_amazing_vertex_completion.py
+++ b/litellm/tests/test_amazing_vertex_completion.py
@@ -1828,10 +1828,8 @@ def test_vertexai_embedding():
@pytest.mark.asyncio()
async def test_vertexai_multimodal_embedding():
- image_path = "../proxy/cached_logo.jpg"
- # Getting the base64 string
- base64_image = encode_image(image_path)
- print("base 64 img ", base64_image)
+ load_vertex_ai_credentials()
+
try:
litellm.set_verbose = True
response = await litellm.aembedding(