From 3b5d7009f87871e03c9ea2f1b4dbb19f67153af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 5 Sep 2026 13:07:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E7=A1=AE=E8=81=94=E5=90=88=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E6=8C=89=E5=9B=BE=E7=89=87=E8=BF=94=E5=9B=9E=E6=A0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 让提示与每张输入图一棵树的校验契约一致 --- .../src-tauri/src/ui_editor/commands/recognition_and_binding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition_and_binding.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition_and_binding.rs index 9a9c4ba79..667ae50cd 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition_and_binding.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition_and_binding.rs @@ -681,7 +681,7 @@ pub(crate) async fn recognition_and_binding_impl_with_provider( }); parts.push(LlmMessageContentPart::InputImage { image_url }); } - parts.push(LlmMessageContentPart::InputText { text: "请直接返回完整最终 UI 树;每个节点可包含 components,空数组表示无组件。不要输出 node_id。".to_string() }); + parts.push(LlmMessageContentPart::InputText { text: "请为每张输入图片各返回一棵 UI 树(trees 与输入图片一一对应);每个节点可包含 components,空数组表示无组件。不要输出 node_id。".to_string() }); let (llm, client) = if provider_identity.is_none() { let llm = load_game_creator_app_config()?.llm; let client = build_game_creator_llm_client_from_llm_config(&llm, "llm")