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]

mark as async

Ishaan Jafff43060e8df33
diff --git a/tests/pass_through_tests/test_vertex_ai.py b/tests/pass_through_tests/test_vertex_ai.py
index 30600c97d6c..d2c047b2771 100644
--- a/tests/pass_through_tests/test_vertex_ai.py
+++ b/tests/pass_through_tests/test_vertex_ai.py
@@ -9,8 +9,7 @@ from vertexai.preview.generative_models import GenerativeModel
import tempfile
import json
import os
-from google.oauth2 import service_account
-import google.auth.transport.requests
+import pytest
# Path to your service account JSON file
@@ -77,6 +76,7 @@ async def call_spend_logs_endpoint():
LITE_LLM_ENDPOINT = "http://localhost:4000"
async def test_basic_vertex_ai_pass_through_with_spendlog():
vertexai.init(