feat: add switch for thinking content forward

This commit is contained in:
ikechan8370 2025-02-03 18:36:47 +08:00
parent 43fb604742
commit f05da98d37
3 changed files with 16 additions and 3 deletions

View file

@ -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}`)
}