Skip to content

Feature Request: webui: copy prompt with the "pasted" attachment #17834

@jacekpoplawski

Description

@jacekpoplawski

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

When I copy a short text (about 10 lines) into the webui, it’s pasted as a normal prompt.
If I copy a long text (around 100 lines), it’s pasted as a “pasted” prompt.

In the old webui I couldn’t press Enter on a “pasted” prompt without adding an additional message, but now I can (so it's better now!).

When I click “copy” on a normal prompt, it is copied correctly.
When I click “copy” on a “pasted” prompt, nothing happens (the clipboard stays unchanged).
Probably the prompt is empty and “pasted” is just an attachment.

Could you make it possible to copy a “pasted” prompt correctly?

Motivation

Use case: I have a long prompt that I want to use across multiple models, so I’m trying to copy it from one chat to another.

Possible Implementation

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions