Skip to content

[Feature]: Add copy action for assistant responses #1455

Description

@leonardoxr

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/web

Problem or use case

There is already a copy action for markdown code snippets inside assistant messages, but that only helps when the response is rendered as a fenced code block. I want to copy the full assistant response itself, including explanations, commands, and any non-code text, without manually selecting the message

Proposed solution

Add a separate copy control for assistant response messages in the chat timeline. This should be different from the existing markdown code-block copy button and should copy the entire assistant response text, not just an individual code snippet.

Why this matters

Assistant responses are often a mix of prose and code. The existing code-block copy action is useful, but it does not solve the broader need to copy the whole response in one step.

Smallest useful scope

The current option for copying code snippets(the ui) should be reused to also enable the user to copy the whole response

Alternatives considered

No response

Risks or tradeoffs

No response

Examples or references

Image

Contribution

  • I would be open to helping implement this.

Activity

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

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions