From c6f1f8b6b3dcafe1fc1dd737876972d9ae799da7 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 30 Mar 2026 19:15:49 -0700 Subject: [PATCH] fix: move to new vertex credentials --- tests/pass_through_tests/test_local_vertex.js | 2 +- tests/pass_through_tests/test_vertex.test.js | 4 ++-- tests/pass_through_tests/test_vertex_ai.py | 6 +++--- tests/pass_through_tests/test_vertex_with_spend.test.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/pass_through_tests/test_local_vertex.js b/tests/pass_through_tests/test_local_vertex.js index 231858cdf9..149635e2d6 100644 --- a/tests/pass_through_tests/test_local_vertex.js +++ b/tests/pass_through_tests/test_local_vertex.js @@ -3,7 +3,7 @@ const { VertexAI, RequestOptions } = require('@google-cloud/vertexai'); const vertexAI = new VertexAI({ - project: 'pathrise-convert-1606954137718', + project: 'litellm-ci-cd', location: 'us-central1', apiEndpoint: "127.0.0.1:4000/vertex-ai" }); diff --git a/tests/pass_through_tests/test_vertex.test.js b/tests/pass_through_tests/test_vertex.test.js index c10889e3a6..cfb494da67 100644 --- a/tests/pass_through_tests/test_vertex.test.js +++ b/tests/pass_through_tests/test_vertex.test.js @@ -61,7 +61,7 @@ beforeAll(() => { describe('Vertex AI Tests', () => { test('should successfully generate content from Vertex AI', async () => { const vertexAI = new VertexAI({ - project: 'pathrise-convert-1606954137718', + project: 'litellm-ci-cd', location: 'us-central1', apiEndpoint: "localhost:4000/vertex-ai" }); @@ -100,7 +100,7 @@ describe('Vertex AI Tests', () => { test('should successfully generate non-streaming content from Vertex AI', async () => { - const vertexAI = new VertexAI({project: 'pathrise-convert-1606954137718', location: 'us-central1', apiEndpoint: "localhost:4000/vertex-ai"}); + const vertexAI = new VertexAI({project: 'litellm-ci-cd', location: 'us-central1', apiEndpoint: "localhost:4000/vertex-ai"}); const customHeaders = new Headers({"x-litellm-api-key": "sk-1234"}); const requestOptions = {customHeaders: customHeaders}; const generativeModel = vertexAI.getGenerativeModel({model: 'gemini-2.5-flash-lite'}, requestOptions); diff --git a/tests/pass_through_tests/test_vertex_ai.py b/tests/pass_through_tests/test_vertex_ai.py index 2f5ec8eaa3..ba27a4cc46 100644 --- a/tests/pass_through_tests/test_vertex_ai.py +++ b/tests/pass_through_tests/test_vertex_ai.py @@ -98,7 +98,7 @@ async def test_basic_vertex_ai_pass_through_with_spendlog(): load_vertex_ai_credentials() vertexai.init( - project="pathrise-convert-1606954137718", + project="litellm-ci-cd", location="us-central1", api_endpoint=f"{LITE_LLM_ENDPOINT}/vertex_ai", api_transport="rest", @@ -138,7 +138,7 @@ async def test_basic_vertex_ai_pass_through_streaming_with_spendlog(): load_vertex_ai_credentials() vertexai.init( - project="pathrise-convert-1606954137718", + project="litellm-ci-cd", location="us-central1", api_endpoint=f"{LITE_LLM_ENDPOINT}/vertex_ai", api_transport="rest", @@ -177,7 +177,7 @@ async def test_vertex_ai_pass_through_endpoint_context_caching(): # load_vertex_ai_credentials() vertexai.init( - project="pathrise-convert-1606954137718", + project="litellm-ci-cd", location="us-central1", api_endpoint=f"{LITE_LLM_ENDPOINT}/vertex_ai", api_transport="rest", diff --git a/tests/pass_through_tests/test_vertex_with_spend.test.js b/tests/pass_through_tests/test_vertex_with_spend.test.js index 6a5643918a..142a1cec8f 100644 --- a/tests/pass_through_tests/test_vertex_with_spend.test.js +++ b/tests/pass_through_tests/test_vertex_with_spend.test.js @@ -70,7 +70,7 @@ jest.retryTimes(3); describe('Vertex AI Tests', () => { test('should successfully generate non-streaming content with tags', async () => { const vertexAI = new VertexAI({ - project: 'pathrise-convert-1606954137718', + project: 'litellm-ci-cd', location: 'us-central1', apiEndpoint: "127.0.0.1:4000/vertex_ai" }); @@ -129,7 +129,7 @@ describe('Vertex AI Tests', () => { test('should successfully generate streaming content with tags', async () => { const vertexAI = new VertexAI({ - project: 'pathrise-convert-1606954137718', + project: 'litellm-ci-cd', location: 'us-central1', apiEndpoint: "127.0.0.1:4000/vertex_ai" });