fix: 模式混乱的问题

This commit is contained in:
ikechan8370 2023-03-20 23:52:55 +08:00
parent ef54cad1fd
commit ad853d45a6

View file

@ -509,7 +509,7 @@ export class chatgpt extends plugin {
logger.info('chatgpt闭嘴中不予理会')
return false
}
const use = await redis.get('CHATGPT_USE') || 'api'
const use = await redis.get('CHATGPT:USE') || 'api'
await this.abstractChat(e, prompt, use)
}