Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
feat: support select multi datasets (#235)
Joel970950e3a8bd
diff --git a/web/app/components/app/configuration/dataset-config/select-dataset/index.tsx b/web/app/components/app/configuration/dataset-config/select-dataset/index.tsxindex 78c219bfc53..2ff3ef16499 100644--- a/web/app/components/app/configuration/dataset-config/select-dataset/index.tsx+++ b/web/app/components/app/configuration/dataset-config/select-dataset/index.tsx@@ -12,7 +12,6 @@ import { formatNumber } from '@/utils/format'import Link from 'next/link'import s from './style.module.css'-import Toast from '@/app/components/base/toast'export interface ISelectDataSetProps {isShow: boolean@@ -32,8 +31,7 @@ const SelectDataSet: FC<ISelectDataSetProps> = ({const [loaded, setLoaded] = React.useState(false)const [datasets, setDataSets] = React.useState<DataSet[] | null>(null)const hasNoData = !datasets || datasets?.length === 0- // Only one dataset can be selected. Historical data retains data and supports multiple selections, but when saving, only one can be selected. This is based on considerations of performance and accuracy.- const canSelectMulti = selectedIds.length > 1+ const canSelectMulti = trueuseEffect(() => {(async () => {const { data } = await fetchDatasets({ url: '/datasets', params: { page: 1 } })@@ -57,13 +55,6 @@ const SelectDataSet: FC<ISelectDataSetProps> = ({}const handleSelect = () => {- if (selected.length > 1) {- Toast.notify({- type: 'error',- message: t('appDebug.feature.dataSet.notSupportSelectMulti')- })- return- }onSelect(selected)}return (