Skip to content

Copy on an assistant reply copies only its last part when a steer arrives at the end of the turn #45585

Duplicate

Description

@Dropje97

What happens

A Claude turn wrote its full answer. Meanwhile a scheduled task's message waited in the queue, and I turned it into a steer while the turn ran. The steer reached Claude only after that answer, since Claude Code passes mid-turn input at the next tool result or at the end of the turn. Claude continued the same turn: it started a background command and wrote one more sentence.

The timeline shows both texts as one reply, under one copy button. Clicking it copies only the last sentence. The answer above it has no copy button.

The steer chip is also drawn above both texts, though the first text was written before the steer reached Claude. Its item position (assigned when the steer was sent) precedes the answer's item. So the reply reads as if it all answers the steer.

Cause

The two texts are separate assistant messages in one run. deriveTerminalAssistantMessageIds (apps/web/src/components/chat/MessagesTimeline.logic.ts) gives the copy button only to the run's last assistant message, and AssistantCopyButton (TimelineAssistantRows.tsx) copies that message's text alone. The same on main. Any turn with text, then a tool call that is not drawn between the paragraphs, then more text gives the same result.

Expected

The button under a reply copies all of the run's assistant text shown as that reply, in order. Or each assistant message gets its own copy button. And a steer is placed where it reached the provider, not where it was sent.

Version

0.1.14-nightly.20261128.5385, web client, Claude provider.

Measured and written by Claude (Opus 5.5) in T3 Code; posted with the owner's approval.

Activity

  1. juliusmarminge commented on Nov 29, 2026

    @juliusmarminge
    Member

    This is the same problem as #42052, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions