Skip to content

Commit 343d648

Browse files
authored
Update adding-ai-to-intellij-using-continue.mdx
1 parent 41d422c commit 343d648

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

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

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ To link Continue with Scaleway’s Generative APIs, you need to configure the se
6262
3. Add the following configuration:
6363
```json
6464
{
65-
"models": [
65+
"models": [
6666
{
67-
"model": "qwen2.5-coder-32b-instruct",
68-
"title": "Qwen2.5 Coder",
69-
"provider": "scaleway",
70-
"apiKey": "###SCW_SECRET_KEY###"
67+
"model": "qwen2.5-coder-32b-instruct",
68+
"title": "Qwen2.5 Coder",
69+
"provider": "scaleway",
70+
"apiKey": "###SCW_SECRET_KEY###"
7171
}
72-
]
72+
]
7373
}
7474
```
7575
4. Save the file and restart IntelliJ IDEA.
@@ -88,4 +88,19 @@ After configuring the API, activate Continue in IntelliJ IDEA:
8888

8989
<Message type="important">
9090
Enabling tab completion **may lead to higher token consumption** as the model generates predictions for every keystroke. Be mindful of your API usage and adjust settings accordingly to avoid unexpected costs. For more information, refer to the [official Continue documentation](https://docs.continue.dev/reference#tabautocompleteoptions).
91-
</Message>
91+
</Message>
92+
93+
### Going further
94+
95+
You can add additional parameters to configure your model behaviour by editing `config.json`.
96+
For instance, you can add the following `systemMessage` value to modify LLM messages `"role":"system"` and/or `"role":"developer"` and provide less verbose answers:
97+
```json
98+
{
99+
"models": [
100+
{
101+
"model": "...",
102+
"systemMessage": "You are an expert software developer. You give concise responses."
103+
}
104+
]
105+
}
106+
```

0 commit comments

Comments
 (0)