claude-code - 💡(How to fix) Fix Assistant text before an AskUserQuestion dialog in the same turn is not displayed

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

When the assistant emits text content followed by an AskUserQuestion tool call in the same turn, the text is not rendered. The UI jumps straight from the previous tool result to the question dialog, so any content the model intended the user to review before answering is silently dropped.

Root Cause

When the assistant emits text content followed by an AskUserQuestion tool call in the same turn, the text is not rendered. The UI jumps straight from the previous tool result to the question dialog, so any content the model intended the user to review before answering is silently dropped.

RAW_BUFFERClick to expand / collapse

Description

When the assistant emits text content followed by an AskUserQuestion tool call in the same turn, the text is not rendered. The UI jumps straight from the previous tool result to the question dialog, so any content the model intended the user to review before answering is silently dropped.

Steps to reproduce

  1. Have the model produce a response that contains a text block (e.g. a draft PR message to review) immediately followed by an AskUserQuestion tool call in the same assistant message.
  2. Observe the transcript: the prior tool call renders, then the question dialog renders, but the text between them never appears.

Happened twice in one session, both times with text preceding AskUserQuestion. Ordinary turns mixing text with other tool calls (Bash, Edit, etc.) render fine.

Impact

The question dialog asks the user to approve something they were never shown (e.g. "Use this PR message?" with no message visible).

Environment

  • Claude Code v2.1.165 (CLI)
  • macOS (Darwin 25.5.0)
  • Model: claude-opus-4-8[1m]

🤖 Generated with Claude Code

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING