Merge branch 'ikechan8370:v2' into v2

This commit is contained in:
ycxom 2025-01-04 15:44:21 +08:00 committed by GitHub
commit 667b03c05f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 17 additions and 13 deletions

View file

@ -288,7 +288,7 @@ export class bym extends plugin {
let client = new CustomGoogleGeminiClient({
e,
userId: e.sender.user_id,
key: Config.geminiKey,
key: Config.getGeminiKey(),
model: Config.geminiModel,
baseUrl: Config.geminiBaseUrl,
debug: Config.debug

View file

@ -617,7 +617,7 @@ ${translateLangLabels}
let client = new CustomGoogleGeminiClient({
e,
userId: e.sender.user_id,
key: Config.geminiKey,
key: Config.getGeminiKey(),
model: 'gemini-1.5-flash-latest',
baseUrl: Config.geminiBaseUrl,
debug: Config.debug