fix(chat): bound conflicting recovered image rows
Keep conflicting provider payloads distinct, while deduplicating the durable row across repeated reconciliation. Assisted-by: Hermes Agent:gpt-6-sol Assisted-by: Codex:gpt-6-luna Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
3043909973
commit
e79e6f5cda
2 files changed
+75
No files matched your search
@@ -11016,6 +11016,11 @@ def _merge_session_messages_append_only_impl(
|
||||
_copy_api_content_sidecar(existing, msg)
|
||||
_merge_session_display_metadata(existing, msg)
|
||||
continue
|
||||
if dedup_key in seen_dedup_keys:
|
||||
_merge_session_display_metadata(
|
||||
merged_by_dedup_key.get(dedup_key), msg
|
||||
)
|
||||
continue
|
||||
if not _insert_state_message_chronologically(merged_messages, msg):
|
||||
merged_messages.append(msg)
|
||||
seen_message_keys.add(key)
|
||||
|
||||
Reference in new issue
Block a user