Vertex AI - Error: APIs that require a project ID cannot use an API key #2570
-
I am trying to use gemini through Vertex AI. I followed instructions at https://docs.librechat.ai/install/configuration/ai_setup.html#2-create-a-service-account-with-vertex-ai-role and have auth.json. If I add auth.json to /LibreChat/api/data/auth.json and leave Here's my current set up and the error log: I left the Google API key empty when adding at frontend. Should I fill it with API key from Google AI studio? .env
error log
Version: v0.7.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Are you using docker? If so, you need to also mount the volume in docker-compose.override.yml version: '3.4'
services:
api:
volumes:
- type: bind
source: ./api/data/auth.json
target: /app/api/data/auth.json Basically, if you at least have the |
Beta Was this translation helpful? Give feedback.
Are you using docker? If so, you need to also mount the volume in docker-compose.override.yml
Basically, if you at least have the
auth.json
file, you don't need to defineGOOGLE_KEY
and it will show