Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(chat): align error persistence regression with the current guard

Seraph-xb926356db07e
diff --cc apps/desktop/test/chat-error-message.test.mjs
index 956f80f9b,956f80f9b..f4b47fb2c
--- a/apps/desktop/test/chat-error-message.test.mjs
+++ b/apps/desktop/test/chat-error-message.test.mjs
@@@ -24,7 -24,7 +24,7 @@@ test("provider failures stay in the tra
assert.match(runtime, /m\.status === "error" \|\| m\.isError \|\| m\.error/);
assert.match(sessionTranscript, /!event\.message\.error/);
assert.match(store, /assistantErrorMessage\(event\.error\)/);
-- assert.match(main, /failed && empty && !event\.message\.error/);
++ assert.match(main, /empty && !carriesTool && !event\.message\.error && !reservedForSteering && !isCompletionNoticeReply/);
});
test("assistant error messages expose readable provider details and one Continue action", async () => {