fix(sync): preserve mixed-client delivery guarantees

This commit is contained in:
Mohamed Boudra
2026-07-17 11:12:46 +02:00
parent e132a6106b
commit 02298d226c
4 changed files with 68 additions and 12 deletions
+2 -1
View File
@@ -907,7 +907,7 @@ function ChatAgentContent({
if (!agentId) {
return;
}
if (agentState.id) {
if (agentState.id && hasAppliedAuthoritativeHistory) {
if (missingAgentState.kind === "resolving" || missingAgentState.kind === "not_found") {
setMissingAgentState(reconcileMissingAgentStateWithPresentAgent);
}
@@ -964,6 +964,7 @@ function ChatAgentContent({
});
}, [
agentState.id,
hasAppliedAuthoritativeHistory,
agentId,
client,
ensureAgentIsInitialized,