fix: move to new vertex credentials

This commit is contained in:
Krrish Dholakia
2026-03-30 19:16:05 -07:00
parent 40074fffe1
commit c6f1f8b6b3
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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);