diff --git a/backend/open_webui/routers/retrieval.py b/backend/open_webui/routers/retrieval.py index d75677cb43..c990c94b61 100644 --- a/backend/open_webui/routers/retrieval.py +++ b/backend/open_webui/routers/retrieval.py @@ -861,7 +861,7 @@ async def update_rag_config( if ( request.app.state.config.ENABLE_RAG_HYBRID_SEARCH and not request.app.state.config.BYPASS_EMBEDDING_AND_RETRIEVAL - ): + ): request.app.state.rf = get_rf( request.app.state.config.RAG_RERANKING_ENGINE, request.app.state.config.RAG_RERANKING_MODEL,