mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-10-08 22:41:38 +00:00
🌍 fix: Prefer Imagen-Specific Location over Default Google Region (#13613)
This commit is contained in:
parent
6c36d8038c
commit
82f7200f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ async function initializeGeminiClient(options = {}) {
|
|||
return new GoogleGenAI({
|
||||
vertexai: true,
|
||||
project: serviceKey.project_id,
|
||||
location: process.env.GOOGLE_LOC || process.env.GOOGLE_CLOUD_LOCATION || 'global',
|
||||
location: process.env.GOOGLE_CLOUD_LOCATION || process.env.GOOGLE_LOC || 'global',
|
||||
googleAuthOptions: { credentials: serviceKey },
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue