新增: AI Chat多项增强(审批去重/编辑重发/导出/实体引用/会话置顶搜索)+任务推进链df-nodes落地
This commit is contained in:
@@ -46,7 +46,10 @@ impl NodeRegistry {
|
||||
let mut node_ids: std::collections::HashSet<&String> = std::collections::HashSet::new();
|
||||
for (id, node_def) in &def.nodes {
|
||||
let node = self.create(&node_def.node_type, &node_def.config)?;
|
||||
dag.add_node(id.clone(), node);
|
||||
// 节点级 config 下沉到 Dag.node_configs:DagExecutor.run 构造 NodeContext 时
|
||||
// deep_merge(initial_config, node_configs[id])(节点级覆盖全局级),解决此前
|
||||
// initial_config.clone() 直接当 ctx.config、忽略 NodeDef.config 的问题。
|
||||
dag.add_node_with_config(id.clone(), node, node_def.config.clone());
|
||||
node_ids.insert(id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user