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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
@tjbck commented on GitHub (Jan 2, 2025):
Good catch! Fixed in dev!