From d44c6ab62c06ee7d1c42a6d889bed5c69c719c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 12 Sep 2026 16:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E8=83=8C=E6=99=AF=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E8=A7=84=E5=88=99=E7=A4=BA=E4=BE=8B=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src-tauri/src/ui_editor/commands/recognition.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition.rs index c71475440..f6d087ea0 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/recognition.rs @@ -51,7 +51,8 @@ const SYSTEM_PROMPT: &str = r#" 文字组件要求: 艺术字等作为图片组件, 其余正常文字要作为单独的节点识别. * 多行文本只使用一个节点. * 不鼓励兄弟节点相互重叠. -* 对于面板等容器的背景等, 必须作为父节点的组件, 禁止新增冗余的所谓"背景节点". +* 对于面板等容器的背景等, 必须作为父节点的组件, 禁止新增冗余的所谓"背景节点". 例如:对于全局的背景可以直接作为根节点的图片组件, 不用另起节点 + "#; #[derive(Clone, Debug, Deserialize, PartialEq, Serialize, JsonSchema)]