Skip to content

Commit badc356

Browse files
authored
Update adding-ai-to-vscode-using-continue.mdx
Add configuration details for specific project ids.
1 parent f042722 commit badc356

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

pages/generative-apis/reference-content/adding-ai-to-vscode-using-continue.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To link Continue with Scaleway's Generative APIs, you can use built-in menus fro
3838
- In the prompt section, click on **Select model** dropdown, then on **Add Chat model**.
3939
- Select **Scaleway** as provider.
4040
- Select the model you want to use (we recommend `Qwen 2.5 Coder 32b` to get started with).
41-
- Enter your **Scaleway Secret Key**.
41+
- Enter your **Scaleway Secret Key**. Note that to start with, we recommend you use a Scaleway Secret Key having access to your `default` Scaleway project.
4242

4343
These actions will edit automatically your `config.json file`. To edit it manually, see [Configure Continue through configuration file](#configure-continue-through-configuration-file).
4444

@@ -61,7 +61,18 @@ To link Continue with Scaleway's Generative APIs, you can configure a settings f
6161
"provider": "scaleway",
6262
"apiKey": "###SCW_SECRET_KEY###"
6363
}
64-
]
64+
],
65+
"embeddingsProvider": {
66+
"model": "bge-multilingual-gemma2",
67+
"provider": "scaleway",
68+
"apiKey": "###SCW_SECRET_KEY###"
69+
},
70+
"tabAutocompleteModel": {
71+
"model": "qwen2.5-coder-32b",
72+
"title": "Qwen2.5 Coder Autocomplete",
73+
"provider": "scaleway",
74+
"apiKey": "###SCW_SECRET_KEY###"
75+
},
6576
}
6677
```
6778
- Save the file at the correct location:
@@ -70,6 +81,7 @@ To link Continue with Scaleway's Generative APIs, you can configure a settings f
7081

7182
<Message type="tip">
7283
For more details on configuring `config.json`, refer to the [official Continue documentation](https://docs.continue.dev/reference).
84+
If you want to limit access to a specific Scaleway Project, you should add the field `"apiBase": "https://api.scaleway.ai/###PROJECT_ID###/v1/"` for each model (ie. `models`, `embeddingsProvider` and `tabAutocompleteModel`) since the default url `https://api.scaleway.ai/v1/` can only be used with the `default` project.
7385
</Message>
7486

7587
### Activate Continue in VS Code

0 commit comments

Comments
 (0)