From 6cb66cde364796277d303144f51f7b6a8593df3e Mon Sep 17 00:00:00 2001 From: Koquem T Date: Thu, 24 Apr 2025 21:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E7=AC=AC=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E8=BE=93=E5=87=BAbeat=E5=B7=A6=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIAssistant/Model.cs | 4 +-- MainWindow.xaml | 23 +++++++++++++---- MainWindow.xaml.cs | 61 +++++++++++++++++++++++++++++++++----------- Models/RDTKView.cs | 2 +- 4 files changed, 67 insertions(+), 23 deletions(-) diff --git a/AIAssistant/Model.cs b/AIAssistant/Model.cs index d1d9ca1..65bef72 100644 --- a/AIAssistant/Model.cs +++ b/AIAssistant/Model.cs @@ -12,10 +12,10 @@ namespace RDTKEditor.AIAssistant { public class Assistant { - public const string Deepseek = "deepseek-r1:8b"; + public const string Deepseek = "deepseek-r1:14b"; public const string Smollm = "smollm2:135m"; public const string Qwen_0_5 = "qwen2.5-coder:0.5b"; - public const string Qwen_3 = "qwen2.5-coder:3b"; + public const string Qwen_3 = "qwen2.5-coder:7b"; public OllamaApiClient Ollama { get; } = new(baseUri: new Uri("http://127.0.0.1:11434/api")); public Chat Chat { get; } public Assistant(string modelName) diff --git a/MainWindow.xaml b/MainWindow.xaml index 6cbc7ed..5d0df3a 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -15,6 +15,7 @@ + @@ -42,7 +43,7 @@ - + @@ -60,7 +61,7 @@ -