mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #14269] issue: How to add a selection box function #55863
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zmwstu on GitHub (May 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14269
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
No response
Operating System
Windows
Browser (if applicable)
chrome
Confirmation
README.md.Expected Behavior
I want llms to output several solutions. When the user clicks, these sentences will be automatically put into the front-end input box, for example: I agree with the xth solution, please start to implement it. When the user clicks enter, it can be automatically sent out. I think this will reduce some text operations and can be directly selected.
Actual Behavior
I need to do the following steps: 1. Modify Prompt so that llms outputs text with Plan 1, Plan 2, etc.
2. Modify the front-end interface, and directly render it into a selection box after recognizing the text of Plan 1 and Plan 2.
3. Modify js so that when the user clicks on the selection box, it will directly fill in the input box with "I agree to choose Plan x".
Steps to Reproduce
Since I have just come into contact with the open_webui framework, I think it is a very promising framework. I think this selection box is very good for the user experience. After all, people are happy to make selections. However, I am not very good at modifying the code because this framework is very large. I also don’t know if there is any Function or pipeline that has implemented this function, so I would like to ask the code master for advice.
Logs & Screenshots
无
Additional Information
No response