Skip to content

Collapse long user messages and offer “Send as text file” for large pasted text #1700

Description

@Conanxy

What feature would you like to see?

When a user pastes or sends a large block of text in the web composer, HAPI should offer two options:

  1. Send it as normal text.
  2. Convert it into a .txt attachment.

After sending, long user messages should be collapsed by default, with “Show more”, “Show less”, and “Copy” actions.

The complete original content should still be preserved and delivered to the agent. Collapsing should only affect how the message is displayed.

This would make conversations containing logs, code, specifications, stack traces, or other long pasted content much easier to navigate.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions