From 081c8de44d69a632798cc5c8030eb40db49550bd Mon Sep 17 00:00:00 2001 From: zhaopengwang <563681252@qq.com> Date: Tue, 28 Oct 2025 19:30:03 +0800 Subject: [PATCH] change default choose to fix bug --- AIDevGallery/Utils/AppData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AIDevGallery/Utils/AppData.cs b/AIDevGallery/Utils/AppData.cs index 78692a50..fca5dd48 100644 --- a/AIDevGallery/Utils/AppData.cs +++ b/AIDevGallery/Utils/AppData.cs @@ -48,7 +48,7 @@ public AppData() IsDiagnosticsMessageDismissed = false; LastAdapterPath = string.Empty; LastSystemPrompt = string.Empty; - WinMLSampleOptions = new WinMlSampleOptions(ExecutionProviderDevicePolicy.DEFAULT, null, false, null); + WinMLSampleOptions = new WinMlSampleOptions(null, "CPU", false, null); } private static string GetConfigFilePath()