[GH-ISSUE #8255] Retrieval Augmented generation query rewriting not working #118366

Closed
opened 2026-05-20 19:46:41 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @adarshdotexe on GitHub (Jan 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8255

Description

Retrieval Augmented generation query rewriting does not take place.

Reason

chat_completion_files_handler makes a call to generate_queries without also passing request in middleware.py

Originally created by @adarshdotexe on GitHub (Jan 1, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8255 ## Description Retrieval Augmented generation query rewriting does not take place. ## Reason chat_completion_files_handler makes a call to generate_queries without also passing request in middleware.py
Author
Owner

@tjbck commented on GitHub (Jan 2, 2025):

Good catch! Fixed in dev!

<!-- gh-comment-id:2567270313 --> @tjbck commented on GitHub (Jan 2, 2025): Good catch! Fixed in dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#118366