From 2c7f5a0d275440d914fb50fda27b264092343296 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 21 Aug 2024 15:25:13 -0700 Subject: [PATCH] fix test test_vertexai_multimodal_embedding --- litellm/tests/test_amazing_vertex_completion.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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(