Skip to content

webui : fix location of pasted input within the user message #22962

Description

@ggerganov

In the WebUI, I believe the current logic for pasting large text in the input is like this:

Image
# constructed prompt in this case
Summarize in 1 sentence
[pasted text]

Instead, it's more practical to have the order in reverse:

# constructed prompt in this case
[pasted text]
Summarize in 1 sentence

This allows more efficient prefix reuse when sending different queries with the same input data.

Activity

  1. moaedy commented on May 13, 2026

    @moaedy

    Opened #23004.

  2. changed the issue type fromtoon May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions