mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #10315] enh: use all search queries #86592
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 @Aloxaf on GitHub (Feb 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10315
Feature Request
Is your feature request related to a problem? Please describe.
I noticed that in the default query generation prompt, the LLM is asked to generate 1 ~ 3 queries, which is good. However, in the code, only first query is actually used.
Describe the solution you'd like
Use all queries generated by the LLM.
Describe alternatives you've considered
Ignore it.
Additional context
3f3a5bb0ab/backend/open_webui/config.py (L1235-L1257)3f3a5bb0ab/backend/open_webui/utils/middleware.py (L324)@tjbck commented on GitHub (Feb 19, 2025):
#8816