anomalyco / anomalyco/opencode

Desktop: assistant text part is not rendered when the same message also contains tool calls

Open
#49,211 0 comments 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Sep 15, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

In the desktop app, when a single assistant message contains both a text part and one or more tool-call parts, the UI renders the tool calls but omits the text part entirely. I only see the tool/shell invocations, never the assistant's written explanation.

Steps to reproduce
  1. Open a session in the desktop app (Windows).
  2. Have the assistant emit one message that contains a text part and a tool call (e.g. "Let me check the logs" followed by a bash tool call).
  3. Observe: only the tool call is rendered, the text is missing.
Expected

The text part should be rendered, regardless of whether the same message also contains tool calls.

Workaround

If the assistant emits its text as a separate message with no tool calls, it renders normally. Short text-only messages always render fine.

Environment
  • opencode desktop 1.18.30 (also reproduced on 1.18.31), Windows 11 Pro, build 26200
  • renderer.log repeatedly shows:
[error] ResizeObserver loop completed with undelivered notifications.
Impact

Completely unusable for reading assistant explanations when tools are used in the same turn.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.