diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/utils.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/utils.rs index 84f7fa178..e40a2805d 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/utils.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/utils.rs @@ -67,7 +67,7 @@ where Err(error) => return Err(error), } } - unreachable!("repair history runner always returns within requested retries") + Err("LLM 修复重试流程未产生结果".to_string()) } pub(crate) fn parse_limited_llm_tool_arguments(