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-vscode-using-continue.mdx
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ To link Continue with Scaleway's Generative APIs, you can use built-in menus fro
38
38
- In the prompt section, click on **Select model** dropdown, then on **Add Chat model**.
39
39
- Select **Scaleway** as provider.
40
40
- 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.
42
42
43
43
These actions will edit automatically your `config.json file`. To edit it manually, see [Configure Continue through configuration file](#configure-continue-through-configuration-file).
44
44
@@ -61,7 +61,18 @@ To link Continue with Scaleway's Generative APIs, you can configure a settings f
61
61
"provider": "scaleway",
62
62
"apiKey": "###SCW_SECRET_KEY###"
63
63
}
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
+
},
65
76
}
66
77
```
67
78
- 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
70
81
71
82
<Messagetype="tip">
72
83
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.
0 commit comments