fix(agent): 画布助手 - 审批恢复携带真实执行结果,消除恢复后重发撞快照冲突 (#702)

* fix(agent): 画布助手 - 审批恢复提示携带真实执行结果,消除恢复后重发撞快照

* fix(agent): 画布助手 - 回执摘要按字段组装保留快照,占位指引要求先更新快照再重发

* fix(agent): 画布助手 - 未执行调用重发指引按对象区分快照适用范围

---------

Co-authored-by: Future <jiaboxuan1205@163.com>
This commit is contained in:
jiabx
2026-10-08 13:50:59 +08:00
committed by GitHub
parent be0b2f9b67
commit e846712ce0
4 changed files with 309 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ const (
cloudAgentToolErrorPermission = "permission_violation"
cloudAgentToolErrorUpstream = "upstream_failure"
cloudAgentToolErrorAdmission = "admission_failure"
cloudAgentToolErrorApprovalDeferred = "approval_deferred"
cloudAgentToolErrorUnknown = "tool_error"
)
@@ -115,6 +116,8 @@ func cloudAgentToolErrorLabel(class string) string {
return "上游故障"
case cloudAgentToolErrorAdmission:
return "媒体生成准入失败"
case cloudAgentToolErrorApprovalDeferred:
return "审批暂停未执行"
default:
return "工具执行失败"
}