From 7a8f8960c51a1edf3084bad578195d6496c16007 Mon Sep 17 00:00:00 2001 From: Alexandre GODARD Date: Tue, 13 Aug 2024 17:51:25 +0200 Subject: [PATCH] Update main.py Fix typo in update_reranking_model --- backend/apps/rag/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/rag/main.py b/backend/apps/rag/main.py index dc6b8830e..8b7cf2dab 100644 --- a/backend/apps/rag/main.py +++ b/backend/apps/rag/main.py @@ -376,7 +376,7 @@ async def update_reranking_config( try: app.state.config.RAG_RERANKING_MODEL = form_data.reranking_model - update_reranking_model(app.state.config.RAG_RERANKING_MODEL), True + update_reranking_model(app.state.config.RAG_RERANKING_MODEL, True) return { "status": True,