说明视觉绑定解析错误的有限重试策略

记录严格工具 schema 和响应损坏重试边界。
This commit is contained in:
2026-09-11 19:41:48 +08:00
parent f933db169e
commit 4cf3642b53
@@ -100,6 +100,8 @@ async fn visual_binding_inner(
},
]),
];
// 严格工具 schema 由 provider 负责约束正常模型输出;这里的解析失败只代表极小概率
// 的传输/响应损坏,因此沿用有限重试,不再为理论上的坏载荷扩展业务修复协议。
let result = run_with_repair_history(
2,
initial_history,