mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 06:17:06 +00:00
fix: add hint for swicth mode
This commit is contained in:
parent
301622ad8a
commit
ab20b0513d
1 changed files with 3 additions and 3 deletions
|
|
@ -78,17 +78,17 @@ export class ChatgptManagement extends plugin {
|
||||||
|
|
||||||
async useBrowserBasedSolution (e) {
|
async useBrowserBasedSolution (e) {
|
||||||
await redis.set('CHATGPT:USE', 'browser')
|
await redis.set('CHATGPT:USE', 'browser')
|
||||||
await this.reply('已切换到基于浏览器的解决方案')
|
await this.reply('已切换到基于浏览器的解决方案,如果已经对话过建议执行`#结束对话`避免引起404错误')
|
||||||
}
|
}
|
||||||
|
|
||||||
async useOpenAIAPIBasedSolution (e) {
|
async useOpenAIAPIBasedSolution (e) {
|
||||||
await redis.set('CHATGPT:USE', 'api')
|
await redis.set('CHATGPT:USE', 'api')
|
||||||
await this.reply('已切换到基于OpenAI API的解决方案')
|
await this.reply('已切换到基于OpenAI API的解决方案,如果已经对话过建议执行`#结束对话`避免引起404错误')
|
||||||
}
|
}
|
||||||
|
|
||||||
async useReversedAPIBasedSolution (e) {
|
async useReversedAPIBasedSolution (e) {
|
||||||
await redis.set('CHATGPT:USE', 'apiReverse')
|
await redis.set('CHATGPT:USE', 'apiReverse')
|
||||||
await this.reply('已切换到基于第三方Reversed API的解决方案')
|
await this.reply('已切换到基于第三方Reversed API的解决方案,如果已经对话过建议执行`#结束对话`避免引起404错误')
|
||||||
}
|
}
|
||||||
|
|
||||||
async modeHelp () {
|
async modeHelp () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue