You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the **mode key** (the key in your `waveai.json` configuration), not the display name. For example, use `"ollama-llama"` (the key), not `"Ollama - Llama 3.3"` (the display name).
56
+
:::
83
57
84
-
### Field Reference
58
+
**Using the settings command:**
59
+
```bash
60
+
wsh setconfig waveai:defaultmode="ollama-llama"
61
+
```
85
62
86
-
| Field | Required | Description |
87
-
|-------|----------|-------------|
88
-
|`display:name`| Yes | Name shown in the AI mode selector |
89
-
|`display:order`| No | Sort order in the selector (lower numbers first) |
90
-
|`display:icon`| No | Icon identifier for the mode |
91
-
|`display:description`| No | Full description of the mode |
|`ai:apitype`| No | API type: `openai-chat`, `openai-responses`, or `google-gemini` (defaults to `openai-chat` if not specified) |
94
-
|`ai:model`| No | Model identifier (required for most providers) |
95
-
|`ai:thinkinglevel`| No | Thinking level: `low`, `medium`, or `high`|
96
-
|`ai:endpoint`| No |*Full* API endpoint URL (auto-set by provider when available) |
97
-
|`ai:azureapiversion`| No | Azure API version (for `azure-legacy` provider, defaults to `2025-04-01-preview`) |
98
-
|`ai:apitoken`| No | API key/token (not recommended - use secrets instead) |
99
-
|`ai:apitokensecretname`| No | Name of secret containing API token (auto-set by provider) |
100
-
|`ai:azureresourcename`| No | Azure resource name (for Azure providers) |
101
-
|`ai:azuredeployment`| No | Azure deployment name (for `azure-legacy` provider) |
102
-
|`ai:capabilities`| No | Array of supported capabilities: `"tools"`, `"images"`, `"pdfs"`|
103
-
|`waveai:cloud`| No | Internal - for Wave Cloud AI configuration only |
104
-
|`waveai:premium`| No | Internal - for Wave Cloud AI configuration only |
63
+
**Or edit settings.json directly:**
64
+
1. Click the settings (gear) icon in the widget bar
65
+
2. Select "Settings" from the menu
66
+
3. Add the `waveai:defaultmode` key to your settings.json:
67
+
```json
68
+
"waveai:defaultmode": "ollama-llama"
69
+
```
105
70
106
-
### AI Capabilities
71
+
This will make the specified mode the default selection when opening Wave AI features.
107
72
108
-
The `ai:capabilities` field specifies what features the AI mode supports:
73
+
### Hiding Wave Cloud Modes
109
74
110
-
-**`tools`** - Enables AI tool usage for file reading/writing, shell integration, and widget interaction
111
-
-**`images`** - Allows image attachments in chat (model can view uploaded images)
112
-
-**`pdfs`** - Allows PDF file attachments in chat (model can read PDF content)
75
+
If you prefer to use only your local or custom models and want to hide Wave's cloud AI modes from the mode dropdown, set `waveai:showcloudmodes` to `false`:
113
76
114
-
**Provider-specific behavior:**
115
-
-**OpenAI and Google providers**: Capabilities are automatically configured based on the model. You don't need to specify them.
116
-
-**OpenRouter, Azure, Azure-Legacy, and Custom providers**: You must manually specify capabilities based on your model's features.
77
+
**Using the settings command:**
78
+
```bash
79
+
wsh setconfig waveai:showcloudmodes=false
80
+
```
117
81
118
-
:::warning
119
-
If you don't include `"tools"` in the `ai:capabilities` array, the AI model will not be able to interact with your Wave terminal widgets, read/write files, or execute commands. Most AI modes should include `"tools"` for the best Wave experience.
120
-
:::
82
+
**Or edit settings.json directly:**
83
+
1. Click the settings (gear) icon in the widget bar
84
+
2. Select "Settings" from the menu
85
+
3. Add the `waveai:showcloudmodes` key to your settings.json:
86
+
```json
87
+
"waveai:showcloudmodes": false
88
+
```
121
89
122
-
Most models support `tools` and can benefit from it. Vision-capable models should include `images`. Not all models support PDFs, so only include `pdfs` if your model can process them.
90
+
This will hide Wave's built-in cloud AI modes, showing only your custom configured modes.
123
91
124
92
## Local Model Examples
125
93
@@ -132,7 +100,7 @@ Most models support `tools` and can benefit from it. Vision-capable models shoul
132
100
"ollama-llama": {
133
101
"display:name": "Ollama - Llama 3.3",
134
102
"display:order": 1,
135
-
"display:icon": "llama",
103
+
"display:icon": "microchip",
136
104
"display:description": "Local Llama 3.3 70B model via Ollama",
137
105
"ai:apitype": "openai-chat",
138
106
"ai:model": "llama3.3:70b",
@@ -420,3 +388,81 @@ If you get "model not found" errors:
420
388
- Use `openai-chat` for Ollama, LM Studio, custom endpoints, and most cloud providers
421
389
- Use `openai-responses` for newer OpenAI models (GPT-5+) or when your provider specifically requires it
422
390
- Provider presets automatically set the correct API type when needed
|`display:name`| Yes | Name shown in the AI mode selector |
435
+
|`display:order`| No | Sort order in the selector (lower numbers first) |
436
+
|`display:icon`| No | Icon identifier for the mode (can use any [FontAwesome icon](https://fontawesome.com/search), use the name without the "fa-" prefix). Default is "sparkles" |
437
+
|`display:description`| No | Full description of the mode |
|`ai:apitype`| No | API type: `openai-chat`, `openai-responses`, or `google-gemini` (defaults to `openai-chat` if not specified) |
440
+
|`ai:model`| No | Model identifier (required for most providers) |
441
+
|`ai:thinkinglevel`| No | Thinking level: `low`, `medium`, or `high`|
442
+
|`ai:endpoint`| No |*Full* API endpoint URL (auto-set by provider when available) |
443
+
|`ai:azureapiversion`| No | Azure API version (for `azure-legacy` provider, defaults to `2025-04-01-preview`) |
444
+
|`ai:apitoken`| No | API key/token (not recommended - use secrets instead) |
445
+
|`ai:apitokensecretname`| No | Name of secret containing API token (auto-set by provider) |
446
+
|`ai:azureresourcename`| No | Azure resource name (for Azure providers) |
447
+
|`ai:azuredeployment`| No | Azure deployment name (for `azure-legacy` provider) |
448
+
|`ai:capabilities`| No | Array of supported capabilities: `"tools"`, `"images"`, `"pdfs"`|
449
+
|`waveai:cloud`| No | Internal - for Wave Cloud AI configuration only |
450
+
|`waveai:premium`| No | Internal - for Wave Cloud AI configuration only |
451
+
452
+
### AI Capabilities
453
+
454
+
The `ai:capabilities` field specifies what features the AI mode supports:
455
+
456
+
-**`tools`** - Enables AI tool usage for file reading/writing, shell integration, and widget interaction
457
+
-**`images`** - Allows image attachments in chat (model can view uploaded images)
458
+
-**`pdfs`** - Allows PDF file attachments in chat (model can read PDF content)
459
+
460
+
**Provider-specific behavior:**
461
+
-**OpenAI and Google providers**: Capabilities are automatically configured based on the model. You don't need to specify them.
462
+
-**OpenRouter, Azure, Azure-Legacy, and Custom providers**: You must manually specify capabilities based on your model's features.
463
+
464
+
:::warning
465
+
If you don't include `"tools"` in the `ai:capabilities` array, the AI model will not be able to interact with your Wave terminal widgets, read/write files, or execute commands. Most AI modes should include `"tools"` for the best Wave experience.
466
+
:::
467
+
468
+
Most models support `tools` and can benefit from it. Vision-capable models should include `images`. Not all models support PDFs, so only include `pdfs` if your model can process them.
0 commit comments