From 7922fc3b0e166959aafc8cc62f670cd56adda0aa Mon Sep 17 00:00:00 2001 From: lixinyue <2569494688@qq.com> Date: Wed, 4 Feb 2026 15:53:13 +0800 Subject: [PATCH] knowledge_retrieval/bug/fix --- api/app/core/rag/nlp/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/core/rag/nlp/search.py b/api/app/core/rag/nlp/search.py index 572f2e3c..65fbd9cb 100644 --- a/api/app/core/rag/nlp/search.py +++ b/api/app/core/rag/nlp/search.py @@ -179,7 +179,7 @@ def knowledge_retrieval( "reranker_id": reranker_id, "query": query, "doc_count": len(all_results), - "error": str(e), + "error": str(rerank_error), }, )