diff --git a/apps/ai-game-creator-shell/src-tauri/src/agent/tool/list_registered_assets/error.rs b/apps/ai-game-creator-shell/src-tauri/src/agent/tool/list_registered_assets/error.rs index 3e4ed6f5d..8809e3048 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/agent/tool/list_registered_assets/error.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/agent/tool/list_registered_assets/error.rs @@ -67,7 +67,7 @@ impl ToolFailure for ListRegisteredAssetsError { "列出已登记资源失败:kind 含有控制字符。".to_string() } Self::KindNotManifestClass { got } => format!( - "列出已登记资源失败:kind「{got}」不是已知的 manifest 资源 kind;请改用 canonical kind(如 image、scene、character、icon、icon-spritesheet、character-animation、audio、video、document)。" + "列出已登记资源失败:kind「{got}」不是已知的 manifest 资源 kind;请改用 canonical kind。" ), Self::AssetIdEmpty => "列出已登记资源失败:assetId 传了空值。".to_string(), Self::AssetIdTooLong {