Improved Prompt Handling in Open Web UI #1932

Closed
opened 2025-11-11 14:56:45 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @frettig-radiox on GitHub (Aug 29, 2024).

Feature Request: Improved Prompt Handling in Open Web UI

Problem:

When a message is sent to the LLM that starts with "/", a selection of prompts on various topics is suggested. The selection shows the title of the prompt, but not the text. To see the text of the prompt, the selection must first be confirmed. The prompt text may contain placeholders for variables in square brackets and {{CLIPBOARD}}. The clipboard placeholder is replaced directly when selecting a prompt. The problem is that the user only sees this afterward, for example, when a very long text (which may have still been in the clipboard) is inserted.

Suggested Improvements:

  1. The {{CLIPBOARD}} placeholder should only be replaced when the prompt is submitted. This allows the user to update the clipboard after reading the complete prompt.

  2. An icon could indicate that the prompt intends to access the clipboard (see graphic).

  3. In the text input, the prompt text could be displayed as a preview when a prompt is preselected (see graphic).

  4. Similar to the clipboard icon, variables in the prompt could also be announced via an icon (see graphic). These could be displayed in advance using a tooltip.

prompt_dialog
Originally created by @frettig-radiox on GitHub (Aug 29, 2024). ### Feature Request: Improved Prompt Handling in Open Web UI #### Problem: When a message is sent to the LLM that starts with "/", a selection of prompts on various topics is suggested. The selection shows the title of the prompt, but not the text. To see the text of the prompt, the selection must first be confirmed. The prompt text may contain placeholders for variables in square brackets and `{{CLIPBOARD}}`. The clipboard placeholder is replaced directly when selecting a prompt. The problem is that the user only sees this afterward, for example, when a very long text (which may have still been in the clipboard) is inserted. #### Suggested Improvements: 1. The `{{CLIPBOARD}}` placeholder should only be replaced when the prompt is submitted. This allows the user to update the clipboard after reading the complete prompt. 2. An icon could indicate that the prompt intends to access the clipboard (see graphic). 3. In the text input, the prompt text could be displayed as a preview when a prompt is preselected (see graphic). 4. Similar to the clipboard icon, variables in the prompt could also be announced via an icon (see graphic). These could be displayed in advance using a tooltip. <img width="649" alt="prompt_dialog" src="https://github.com/user-attachments/assets/14f21b40-58d9-414d-a23a-20092ba83b52">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1932