Skip to content

fix(workbench): an unrecognized error shows its reason, and a conversation action names itself - #6895

Merged
M4n5ter merged 1 commit into
rust-previewfrom
fix/show-unrecognized-error-detail
Nov 14, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
fix/show-unrecognized-error-detail

Conversation

@UncertaintyDeterminesYou4ndMe

@UncertaintyDeterminesYou4ndMe UncertaintyDeterminesYou4ndMe commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • errorText drops the detail of any error it does not recognize and shows only the fallback.
  • Conversation's report uses "Could not load conversation history." for every failure, including send, continue, stop and draft saving.

Change

  • An unrecognized error now shows the fallback followed by the detail ({message} {detail}), for example "Could not continue the response. ". Errors errorText already knows keep their own text, and empty or cancelled ones still show nothing.
  • report takes 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.mjs covers an unrecognized error, a known error, a UiError and 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.

…ation action names itself

Generated-by: Claude Code (Claude Opus 5.5)
@M4n5ter
M4n5ter merged commit e0e6c1e into rust-preview Nov 14, 2026
25 of 31 checks passed
@M4n5ter
M4n5ter deleted the fix/show-unrecognized-error-detail branch November 14, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants