mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: hint for no bing cookie
This commit is contained in:
parent
ec45eb1173
commit
58e1d00453
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ export class chatgpt extends plugin {
|
|||
} else if (use === 'bing') {
|
||||
let bingToken = await redis.get('CHATGPT:BING_TOKEN')
|
||||
if (!bingToken) {
|
||||
throw new Error('未绑定Bing Cookie,请使用#chatgpt设置Bing Cookie命令绑定Bing Cookie')
|
||||
throw new Error('未绑定Bing Cookie,请使用#chatgpt设置必应token命令绑定Bing Cookie')
|
||||
}
|
||||
const bingAIClient = new BingAIClient({
|
||||
userToken: bingToken, // "_U" cookie from bing.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue