mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
More formatting
This commit is contained in:
@@ -861,7 +861,7 @@ async def update_rag_config(
|
|||||||
if (
|
if (
|
||||||
request.app.state.config.ENABLE_RAG_HYBRID_SEARCH
|
request.app.state.config.ENABLE_RAG_HYBRID_SEARCH
|
||||||
and not request.app.state.config.BYPASS_EMBEDDING_AND_RETRIEVAL
|
and not request.app.state.config.BYPASS_EMBEDDING_AND_RETRIEVAL
|
||||||
):
|
):
|
||||||
request.app.state.rf = get_rf(
|
request.app.state.rf = get_rf(
|
||||||
request.app.state.config.RAG_RERANKING_ENGINE,
|
request.app.state.config.RAG_RERANKING_ENGINE,
|
||||||
request.app.state.config.RAG_RERANKING_MODEL,
|
request.app.state.config.RAG_RERANKING_MODEL,
|
||||||
|
|||||||
Reference in New Issue
Block a user