mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 06:17:06 +00:00
fix: whole key
This commit is contained in:
parent
1a83d275e7
commit
7710d45c20
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ export const Config = new Proxy(config, {
|
|||
if (typeof target[property] === 'string' && target[property].includes(',')) {
|
||||
const keys = target[property].split(',').map(key => key.trim()).filter(Boolean)
|
||||
const selectedKey = keys[Math.floor(Math.random() * keys.length)]
|
||||
console.log(`[ChatGPT-Plugin] 当前使用的Gemini Key: ${selectedKey`)
|
||||
console.log(`[ChatGPT-Plugin] 当前使用的Gemini Key: ${selectedKey}`)
|
||||
return selectedKey
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue