RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: duplicate knowledgebase name validation logic (#8199)
Liu An60c1bf5a1971
diff --git a/api/apps/kb_app.py b/api/apps/kb_app.pyindex d65766b830..9c37f96b45 100644--- a/api/apps/kb_app.py+++ b/api/apps/kb_app.py@@ -107,7 +107,7 @@ def update():if req["name"].lower() != kb.name.lower() \and len(- KnowledgebaseService.query(name=req["name"], tenant_id=current_user.id, status=StatusEnum.VALID.value)) > 1:+ KnowledgebaseService.query(name=req["name"], tenant_id=current_user.id, status=StatusEnum.VALID.value)) >= 1:return get_data_error_result(message="Duplicated knowledgebase name.")