From 4cf3642b531072cd003a4990c8936509ad70914d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Fri, 11 Sep 2026 19:41:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B4=E6=98=8E=E8=A7=86=E8=A7=89=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E8=A7=A3=E6=9E=90=E9=94=99=E8=AF=AF=E7=9A=84=E6=9C=89?= =?UTF-8?q?=E9=99=90=E9=87=8D=E8=AF=95=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 记录严格工具 schema 和响应损坏重试边界。 --- .../src/ui_editor/commands/separation/workflow/binding.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/workflow/binding.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/workflow/binding.rs index d29dd226a..32d3f5416 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/workflow/binding.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/workflow/binding.rs @@ -100,6 +100,8 @@ async fn visual_binding_inner( }, ]), ]; + // 严格工具 schema 由 provider 负责约束正常模型输出;这里的解析失败只代表极小概率 + // 的传输/响应损坏,因此沿用有限重试,不再为理论上的坏载荷扩展业务修复协议。 let result = run_with_repair_history( 2, initial_history,