mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 06:17:06 +00:00
将无星火ck的情况降低为warn
This commit is contained in:
parent
8df8626d1a
commit
d9c25140ac
1 changed files with 2 additions and 1 deletions
|
|
@ -1907,7 +1907,8 @@ export class chatgpt extends plugin {
|
||||||
}
|
}
|
||||||
const ssoSessionId = Config.xinghuoToken
|
const ssoSessionId = Config.xinghuoToken
|
||||||
if (!ssoSessionId) {
|
if (!ssoSessionId) {
|
||||||
throw new Error('未绑定星火token,请使用#chatgpt设置星火token命令绑定token。(获取对话页面的ssoSessionId cookie值)')
|
//throw new Error('未绑定星火token,请使用#chatgpt设置星火token命令绑定token。(获取对话页面的ssoSessionId cookie值)')
|
||||||
|
logger.warn(`未绑定星火token,请使用#chatgpt设置星火token命令绑定token。(获取对话页面的ssoSessionId cookie值)`)
|
||||||
}
|
}
|
||||||
let client = new XinghuoClient({
|
let client = new XinghuoClient({
|
||||||
ssoSessionId,
|
ssoSessionId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue