mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: add more hint
This commit is contained in:
parent
4b93a2aa72
commit
12290ad8e4
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ export class chatgpt extends plugin {
|
|||
}
|
||||
let accessToken = await redis.get('CHATGPT:TOKEN')
|
||||
if (!accessToken) {
|
||||
throw new Error('未绑定ChatGPT AccessToken')
|
||||
throw new Error('未绑定ChatGPT AccessToken,请使用#chatgpt设置token命令绑定token')
|
||||
}
|
||||
// console.log(accessToken)
|
||||
this.chatGPTApi = new ChatGPTClient(accessToken, clientOptions, cacheOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue