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
fix: dataset retrieve npe when dataset desc is null (#669)
John Wangaae2fb8a3093
diff --git a/api/core/tool/dataset_retriever_tool.py b/api/core/tool/dataset_retriever_tool.pyindex bf881159fae..d728528267e 100644--- a/api/core/tool/dataset_retriever_tool.py+++ b/api/core/tool/dataset_retriever_tool.py@@ -32,10 +32,11 @@ class DatasetRetrieverTool(BaseTool):@classmethoddef from_dataset(cls, dataset: Dataset, **kwargs):- description = dataset.description.replace('\n', '').replace('\r', '')+ description = dataset.descriptionif not description:description = 'useful for when you want to answer queries about the ' + dataset.name+ description = description.replace('\n', '').replace('\r', '')description += '\nID of dataset MUST be ' + dataset.idreturn cls(tenant_id=dataset.tenant_id,