Repository navigation
fix(desktop): show why a reply failed when the conversation reopens - #125
Merged
Merged
Conversation
A provider failure was only sent live, so a conversation opened afterwards showed the reply as Interrupted with no reason. thread.history now carries a failed reply's provider/model and reason, and the desktop shows it in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A provider failure (missing key, quota, invalid request) reached the desktop only as a live
session.execution.failedevent. A conversation opened after the failure showed the reply as "Interrupted" with no reason.thread.historyentries now carry an optionalerrorfor a reply that ended withstopReason: "error", read from the stored assistant envelope and worded like the live failure (provider/model: reason). A reply the user stopped keeps no error. The desktop shows it in place of "Interrupted".Validation:
vp checkandvp run typecheckpass.packages/codework: desktop, recovery and server history tests pass. Twomodel.listtests need a generatedmodels.gen.jsonat the repo root and are unrelated.packages/codeworkserver: reopening a session whose first reply failed for a missing OpenAI key now showsopenai/gpt-5.6-luna: openai API key is missing….🤖 Generated with Claude Code