mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
feat: 轮询geminiKeys,用英文逗号隔开 (#744)
This commit is contained in:
parent
25520ba9fe
commit
7974c6a1c9
7 changed files with 17 additions and 13 deletions
|
|
@ -100,7 +100,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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue