feat(wpf): allow single copilot task execution

有人炸就派uuu @ABA2396
This commit is contained in:
status102
2025-09-13 20:02:22 +08:00
parent 8c3139d851
commit 883fb19a27

View File

@@ -1443,8 +1443,8 @@ namespace MaaWpfGui.ViewModels.UI
AddLog(LocalizationHelper.GetString("Copilot.StartWithEmptyList"), UiLogColor.Error, showTime: false);
return false;
case 1:
AddLog(LocalizationHelper.GetString("CopilotSingleTaskWarning"), UiLogColor.Error, showTime: false);
return false;
AddLog(LocalizationHelper.GetString("CopilotSingleTaskWarning"), UiLogColor.Warning, showTime: false);
break; // 降级为警告, 有用户炸就派uuu
}
if (copilotItemViewModels.Any(i => string.IsNullOrEmpty(i.Name?.Trim())))