mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
fix: 删除必应无token的提示因为不需要token了
This commit is contained in:
parent
cecb16ee62
commit
5c7d85efd0
1 changed files with 5 additions and 1 deletions
|
|
@ -2112,7 +2112,11 @@ export class chatgpt extends plugin {
|
||||||
async function getAvailableBingToken (conversation, throttled = []) {
|
async function getAvailableBingToken (conversation, throttled = []) {
|
||||||
let allThrottled = false
|
let allThrottled = false
|
||||||
if (!await redis.get('CHATGPT:BING_TOKENS')) {
|
if (!await redis.get('CHATGPT:BING_TOKENS')) {
|
||||||
throw new Error('未绑定Bing Cookie,请使用#chatgpt设置必应token命令绑定Bing Cookie')
|
return {
|
||||||
|
bingToken: null,
|
||||||
|
allThrottled
|
||||||
|
}
|
||||||
|
// throw new Error('未绑定Bing Cookie,请使用#chatgpt设置必应token命令绑定Bing Cookie')
|
||||||
}
|
}
|
||||||
|
|
||||||
let bingToken = ''
|
let bingToken = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue