File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
shell/agents/AIShell.Ollama.Agent Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,9 @@ private void NewExampleSettingFile()
319319 // 1. Install Ollama: `winget install Ollama.Ollama`
320320 // 2. Start Ollama API server: `ollama serve`
321321 // 3. Install Ollama model: `ollama pull phi3`
322- "Configs": [
322+
323+ // Declare predefined model configurations
324+ "Presets": [
323325 {
324326 "Name": "PowerShell Expert",
325327 "Description": "A ollama agent with expertise in PowerShell scripting and command line utilities.",
@@ -331,8 +333,8 @@ private void NewExampleSettingFile()
331333 "Endpoint": "http://localhost:11434",
332334 // Enable Ollama streaming
333335 "Stream": false,
334- // Specify the default model to use
335- "DefaultConfig ": "PowerShell Expert"
336+ // Specify the default preset to use
337+ "DefaultPreset ": "PowerShell Expert"
336338 }
337339 """ ;
338340 File . WriteAllText ( SettingFile , SampleContent , Encoding . UTF8 ) ;
You can’t perform that action at this time.
0 commit comments