mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 13:31:32 +08:00
fix(messageThunk): 修复重置消息时模型未正确继承的问题
This commit is contained in:
parent
985859f1c3
commit
bf08e0af31
@ -1103,7 +1103,7 @@ export const resendMessageThunk =
|
||||
const resetMsg = resetAssistantMessage(originalMsg, {
|
||||
status: AssistantMessageStatus.PENDING,
|
||||
updatedAt: new Date().toISOString(),
|
||||
...(assistantMessagesToReset.length === 1 ? { model: assistant.model } : {})
|
||||
...(assistantMessagesToReset.length === 1 ? { model: originalMsg.model ?? assistant.model } : {})
|
||||
})
|
||||
|
||||
resetDataList.push(resetMsg)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user