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: add missing patch import in vertex_ai test

swarnabhasinhaf8ddd123d10a
diff --git a/tests/test_litellm/llms/vertex_ai/test_vertex.py b/tests/test_litellm/llms/vertex_ai/test_vertex.py
index 7e683d1f54e..02bd622016b 100644
--- a/tests/test_litellm/llms/vertex_ai/test_vertex.py
+++ b/tests/test_litellm/llms/vertex_ai/test_vertex.py
@@ -10,7 +10,7 @@ import litellm.litellm_core_utils.prompt_templates
import litellm.litellm_core_utils.prompt_templates.factory
load_dotenv()
-from unittest.mock import MagicMock
+from unittest.mock import MagicMock, patch
sys.path.insert(
0, os.path.abspath("../..")