mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
feat: add switch for thinking content forward
This commit is contained in:
parent
43fb604742
commit
f05da98d37
3 changed files with 16 additions and 3 deletions
|
|
@ -1044,9 +1044,14 @@ export class chatgpt extends plugin {
|
|||
}
|
||||
})
|
||||
if (thinking) {
|
||||
let thinkingForward = await common.makeForwardMsg(e, [thinking], '思考过程')
|
||||
this.reply(thinkingForward)
|
||||
if (Config.forwardReasoning) {
|
||||
let thinkingForward = await common.makeForwardMsg(e, [thinking], '思考过程')
|
||||
this.reply(thinkingForward)
|
||||
} else {
|
||||
logger.mark('思考过程', thinking)
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.enableSuggestedResponses && chatMessage.suggestedResponses) {
|
||||
this.reply(`建议的回复:\n${chatMessage.suggestedResponses}`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue