From bfe98009fdbdc165181e132fd5922bfc9b3ff728 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 9 Jan 2026 14:26:18 +0800 Subject: [PATCH] chore: fix dataset problems --- .../app/configuration/config/agent/agent-tools/index.tsx | 2 +- web/app/components/app/configuration/dataset-config/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx index d6eda5e8bf..3378afb944 100644 --- a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx +++ b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx @@ -190,7 +190,7 @@ const AgentTools: FC = () => { )} > -
+
{tools.map((item: AgentTool & { icon: any, collection?: Collection }, index) => (
= ({ readonly, hideMetadataFilter }) => { > {hasData ? ( -
+
{formattedDataset.map(item => ( = ({ readonly, hideMetadataFilter }) => { onRemove={onRemove} onSave={handleSave} editable={item.editable} + readonly={readonly} /> ))}