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
Copy file name to clipboardExpand all lines: pages/generative-apis/reference-content/adding-ai-to-zed-ide.mdx
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,30 +23,30 @@ Zed is an IDE (Integrated Development Environment) including AI coding assistanc
23
23
1. Edit Zed settings located in `settings.json`, and add the following content to it:
24
24
```json
25
25
{
26
-
"language_models": {
27
-
"openai": {
28
-
"api_url": "https://api.scaleway.ai/v1",
29
-
"available_models": [
30
-
{
31
-
"name": "qwen2.5-coder-32b-instruct",
32
-
"display_name": "Qwen 2.5 Coder 32B",
33
-
"max_tokens": 128000
34
-
}
35
-
],
36
-
"version": "1"
37
-
}
38
-
},
39
-
"assistant": {
26
+
"language_models": {
27
+
"openai": {
28
+
"api_url": "https://api.scaleway.ai/v1",
29
+
"available_models": [
30
+
{
31
+
"name": "devstral-small-2505",
32
+
"display_name": "Devstral Small - Scaleway",
33
+
"max_tokens": 128000
34
+
}
35
+
],
36
+
"version": "1"
37
+
}
38
+
},
39
+
"agent": {
40
+
"default_profile": "write",
40
41
"default_model": {
41
-
"provider": "openai",
42
-
"model": "qwen2.5-coder-32b-instruct"
43
-
},
44
-
"version": "2"
45
-
}
42
+
"provider": "openai",
43
+
"model": "devstral-small-2505"
44
+
}
45
+
}
46
46
}
47
47
```
48
48
49
-
This configuration will add a `qwen2.5-coder-32b-instruct` Scaleway hosted model available with the Zed `openai` provider, and use it as default model.
49
+
This configuration will add a `devstral-small-2505` Scaleway hosted model available with the Zed `openai` provider, and use it as default model.
50
50
51
51
2. Open AI Assistant configuration by either using the command palette and typing `assistant: show configuration` or clicking on the bottom right **Assistant Panel** button and then **Assistant menu** in top right and finally **Configure**.
52
52
@@ -55,4 +55,5 @@ Zed is an IDE (Integrated Development Environment) including AI coding assistanc
55
55
Your key will be deleted if you restart Zed. To store it permanently, you can set up your Scaleway secret key as `OPENAI_API_KEY` environment variable and restart Zed.
56
56
</Message>
57
57
58
-
4. Your setup is complete. If you open a new chat and select `Qwen 2.5 Coder 32B` model, you can send text and retrieve model answers. Additionally, you can use [Inline Assist](https://zed.dev/docs/assistant/inline-assistant#:~:text=You%20can%20use%20ctrl%2Denter,even%20within%20the%20terminal%20panel.) feature when editing your code.
58
+
4. Your setup is complete. If you open a new chat and select the `Devstral Small - Scaleway` model, you can send text and see the model using local tools to perform actions such as file reading or editing. You can review changes before they are applied and also add custom remote tools using [Custom MCP Servers](https://zed.dev/docs/ai/mcp).
59
+
Additionally, you can use the [Inline Assist](https://zed.dev/docs/ai/inline-assistant) feature when editing your code.
0 commit comments