fix(canvas): 云端 Agent - 参数错误有限重试并折叠中间失败
This commit is contained in:
@@ -235,7 +235,7 @@ func compileCloudAgentTools(req CloudAgentRequest, includeProfileTool bool) []ma
|
||||
"globalPrompt": str("set_global_prompt 使用;非空时覆盖各任务提示词,空字符串清除全局提示词"),
|
||||
}, "snapshotHash", "nodeId", "action")
|
||||
opProperties := map[string]any{
|
||||
"type": map[string]any{"type": "string", "enum": []string{"add_node", "update_node", "connect_nodes"}},
|
||||
"type": map[string]any{"type": "string", "enum": []string{"add_node", "update_node", "connect_nodes"}, "description": "必填的操作类型;新增节点必须传 add_node,nodeType 不能代替本字段"},
|
||||
"id": str("节点或连线唯一ID"),
|
||||
"nodeType": map[string]any{"type": "string", "enum": cloudAgentNodeTypeNames()},
|
||||
"title": str("标题;更新操作可选"),
|
||||
|
||||
Reference in New Issue
Block a user