瀏覽代碼

More formatting

Marko Henning 1 月之前
父節點
當前提交
f2e78d7940
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/open_webui/routers/retrieval.py

+ 1 - 1
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,