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:passing empty database array when updating assistant (#9570)
jiasu3b218b2dc016
diff --git a/api/apps/sdk/chat.py b/api/apps/sdk/chat.pyindex 3ccaa3ab81..263375e77c 100644--- a/api/apps/sdk/chat.py+++ b/api/apps/sdk/chat.py@@ -150,10 +150,10 @@ def update(tenant_id, chat_id):if not DialogService.query(tenant_id=tenant_id, id=chat_id, status=StatusEnum.VALID.value):return get_error_data_result(message="You do not own the chat")req = request.json- ids = req.get("dataset_ids")+ ids = req.get("dataset_ids", [])if "show_quotation" in req:req["do_refer"] = req.pop("show_quotation")- if ids is not None:+ if ids:for kb_id in ids:kbs = KnowledgebaseService.accessible(kb_id=kb_id, user_id=tenant_id)if not kbs: