Skip to content

Commit 43026cc

Browse files
fpagnynerda-codes
authored andcommitted
feat(genapi): update zed tutorial with devstral small model (#5346)
* feat(genapi): update zed tutorial with devstral small model * Update pages/generative-apis/reference-content/adding-ai-to-zed-ide.mdx Co-authored-by: Néda <[email protected]> * Update pages/generative-apis/reference-content/adding-ai-to-zed-ide.mdx Co-authored-by: Néda <[email protected]> --------- Co-authored-by: Néda <[email protected]>
1 parent 267b56f commit 43026cc

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

pages/generative-apis/reference-content/adding-ai-to-zed-ide.mdx

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@ Zed is an IDE (Integrated Development Environment) including AI coding assistanc
2323
1. Edit Zed settings located in `settings.json`, and add the following content to it:
2424
```json
2525
{
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",
4041
"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+
}
4646
}
4747
```
4848

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.
5050

5151
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**.
5252

@@ -55,4 +55,5 @@ Zed is an IDE (Integrated Development Environment) including AI coding assistanc
5555
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.
5656
</Message>
5757

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

Comments
 (0)