Repository navigation
fix(workbench): an unrecognized error shows its reason, and a conversation action names itself - #6895
Merged
Merged
Conversation
…ation action names itself Generated-by: Claude Code (Claude Opus 5.5)
3 of 6 tasks
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.
Problem
After the Kimi 400 fixed by #6894, pressing the empty composer's Continue showed only "Could not load conversation history." The Continue was never sent, and the real reason went to
console.warn, which the desktop does not keep. Two things combined:errorTextdrops the detail of any error it does not recognize and shows only the fallback.Conversation'sreportuses "Could not load conversation history." for every failure, including send, continue, stop and draft saving.Change
{message} {detail}), for example "Could not continue the response. ". ErrorserrorTextalready knows keep their own text, and empty or cancelled ones still show nothing.reporttakes a fallback. Send, recovering a send and confirming a frozen send use "Could not send the message."; Continue, Stop and draft saving use new "Could not continue the response.", "Could not stop the response." and "Could not save the draft." (with zh-CN and zh-TW). History reads keep "Could not load conversation history."error-text.test.mjscovers an unrecognized error, a known error, aUiErrorand an empty one.AI use
Found while tracing the Kimi failure in a real conversation, and written with Claude Code (Claude Opus 5.5). I checked that the new test fails against the old
text.ts.