fix(chat): stabilize message identities

This commit is contained in:
2026-07-20 18:30:21 +08:00
parent 159e8bfd59
commit 1e13f94b5d
33 changed files with 718 additions and 212 deletions
@@ -170,6 +170,7 @@ export function createLoadHistoryCallback(
type: "ChatNetworkHistoryLoaded",
output: {
messages: networkMessages,
localDisplayIds: messages.map((message) => message.displayId),
localOverwritten: true,
localCount: messages.length,
networkCount: networkMessages.length,