真实调用 Agent Manager 生产接口时,Manager Runtime shadow create 发出的 payload 仍偏本地 plan 结构,和 Agent Manager v2.1 生产校验不完全一致,创建请求会被 422 拒绝。
agents[].role
resource_grants[].ref/secret_ref
Manager 发给 Runtime 的 payload 应对齐生产接口:
agents
role
risk_level
budget
billing_context
agile_context
sub_mode
callback
metadata
azkv://
go test ./...
已上线验证:Manager 1.4.6 已按生产 Agent Manager schema 调整 Runtime create payload,并直接使用 http://20.212.121.126 作为 Runtime Base URL。线上 runtime health healthy,Manager 创建 deployment dep_f1abd92ae702 成功映射 Runtime dep_4dc11dc5cef2。
No dependencies set.
The note is not visible to the blocked user.
问题
真实调用 Agent Manager 生产接口时,Manager Runtime shadow create 发出的 payload 仍偏本地 plan 结构,和 Agent Manager v2.1 生产校验不完全一致,创建请求会被 422 拒绝。
复现现象
agents[].role、resource_grants[].ref/secret_ref等字段校验。期望
Manager 发给 Runtime 的 payload 应对齐生产接口:
agents,且每个 agent 有role。risk_level、budget、billing_context、agile_context、sub_mode、callback、metadata。azkv://形式的凭据引用,避免把普通文档引用当密钥传给 Agent Manager。验收
go test ./...通过。已上线验证:Manager 1.4.6 已按生产 Agent Manager schema 调整 Runtime create payload,并直接使用 http://20.212.121.126 作为 Runtime Base URL。线上 runtime health healthy,Manager 创建 deployment dep_f1abd92ae702 成功映射 Runtime dep_4dc11dc5cef2。