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,