feat: 移除聊天记录错误返回逻辑,以简化消息处理
This commit is contained in:
parent
945e529fab
commit
45efe9c662
@ -35,7 +35,6 @@ const agent = async (ctx: Context) => {
|
|||||||
excludedMessageIds: [loadingMessageId, messageId],
|
excludedMessageIds: [loadingMessageId, messageId],
|
||||||
excludeMentions: [appInfo.appName],
|
excludeMentions: [appInfo.appName],
|
||||||
})
|
})
|
||||||
// 如果没有聊天记录,返回错误信息
|
|
||||||
logger.debug(`Chat history: ${JSON.stringify(chatHistory)}`)
|
logger.debug(`Chat history: ${JSON.stringify(chatHistory)}`)
|
||||||
|
|
||||||
// 根据Mention,拼装原始消息
|
// 根据Mention,拼装原始消息
|
||||||
|
Loading…
x
Reference in New Issue
Block a user