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 desc npe (#246)
John Wangbb7f454ecd99
diff --git a/api/core/chain/multi_dataset_router_chain.py b/api/core/chain/multi_dataset_router_chain.pyindex 365f68eaf6f..b11e3271ab7 100644--- a/api/core/chain/multi_dataset_router_chain.py+++ b/api/core/chain/multi_dataset_router_chain.py@@ -90,7 +90,9 @@ class MultiDatasetRouterChain(Chain):callback_manager=llm_callback_manager)- destinations = ["{}: {}".format(d.id, d.description.replace('\n', ' ')) for d in datasets]+ destinations = ["{}: {}".format(d.id, d.description.replace('\n', ' ') if d.description+ else ('useful for when you want to answer queries about the ' + d.name))+ for d in datasets]destinations_str = "\n".join(destinations)router_template = MULTI_PROMPT_ROUTER_TEMPLATE.format(destinations=destinations_str