From f2c56c094747113de8350ad61f4e95d1609cf96b Mon Sep 17 00:00:00 2001 From: cmgzn Date: Mon, 14 Oct 2024 15:22:30 +0800 Subject: [PATCH] fix: remove unused customknowledge assignment --- src/agentscope/rag/knowledge_bank.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/agentscope/rag/knowledge_bank.py b/src/agentscope/rag/knowledge_bank.py index 1579634a3..dc65a1ac8 100644 --- a/src/agentscope/rag/knowledge_bank.py +++ b/src/agentscope/rag/knowledge_bank.py @@ -133,7 +133,6 @@ def add_data_as_knowledge( "please check your knowledge config", ) - CustomKnowledge = None if "llama_index" in backend_engine: CustomKnowledge = LlamaIndexKnowledge logger.info("Using llama_index backend engine")