feat(agent): 批量创作表 - 注册节点能力与读写工具
This commit is contained in:
1 parent
c57f1b36ae
commit
9868f5e8b8
7 files changed
+815
-3
No files matched your search
@@ -143,7 +143,7 @@ func (d Descriptor) ApplyPatch(node map[string]any, patch map[string]any) error
|
||||
}
|
||||
|
||||
func (d Descriptor) ValidateConnection(fromKind string) error {
|
||||
if !d.Connection.CanTarget || d.GenerationMode == "" {
|
||||
if !d.Connection.CanTarget {
|
||||
return fmt.Errorf("%s 节点不能接收参考输入", d.Label)
|
||||
}
|
||||
if !d.AllowsInput(fromKind) {
|
||||
|
||||
Reference in new issue
Block a user