fix: bym history

This commit is contained in:
ikechan8370 2025-03-21 00:19:30 +08:00 committed by GitHub
parent 66905640e4
commit 478080fe6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,8 +76,8 @@ export class bym extends plugin {
togglePrefix: ChatGPTConfig.basic.togglePrefix
})
// 伪人不记录历史
sendMessageOption.disableHistoryRead = true
sendMessageOption.disableHistorySave = true
// sendMessageOption.disableHistoryRead = true
// sendMessageOption.disableHistorySave = true
// 设置多轮调用回掉
sendMessageOption.onMessageWithToolCall = async content => {
const { msgs, forward } = await toYunzai(e, [content])