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)]