From c9b156fa6d75e51e192a3c7648e7d05088708c6c Mon Sep 17 00:00:00 2001 From: Liu An Date: Mon, 11 Aug 2025 17:15:30 +0800 Subject: [PATCH] Fix: Remove default dataset_ids from Chat class initialization (#9381) ### What problem does this PR solve? - The default dataset_ids "kb1" was removed from the Chat class. - The HTTP API response does not include the dataset_ids field. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- sdk/python/ragflow_sdk/modules/chat.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/python/ragflow_sdk/modules/chat.py b/sdk/python/ragflow_sdk/modules/chat.py index 01083b37d..b70dcb4d9 100644 --- a/sdk/python/ragflow_sdk/modules/chat.py +++ b/sdk/python/ragflow_sdk/modules/chat.py @@ -24,7 +24,6 @@ class Chat(Base): self.id = "" self.name = "assistant" self.avatar = "path/to/avatar" - self.dataset_ids = ["kb1"] self.llm = Chat.LLM(rag, {}) self.prompt = Chat.Prompt(rag, {}) super().__init__(rag, res_dict)