diff --git a/pages/generative-apis/reference-content/adding-ai-to-intellij-using-continue.mdx b/pages/generative-apis/reference-content/adding-ai-to-intellij-using-continue.mdx index cd55abc343..d6262080f9 100644 --- a/pages/generative-apis/reference-content/adding-ai-to-intellij-using-continue.mdx +++ b/pages/generative-apis/reference-content/adding-ai-to-intellij-using-continue.mdx @@ -57,6 +57,25 @@ To link Continue with Scaleway’s Generative APIs, you need to configure the se For more details on configuring `config.json`, refer to the [official Continue documentation](https://docs.continue.dev/reference). +### Configuring tab completion + +To enable AI-powered tab completion in Continue, add the following configuration to your `.continue/config.json`: + +```json +{ + "tabAutocompleteModel": { + "title": "Scaleway", + "provider": "scaleway", + "model": "qwen2.5-coder-32b-instruct", + "apiKey": "###SCW_SECRET_KEY###" + } +} +``` + + + 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). + + ### Activate Continue in IntelliJ IDEA After configuring the API, activate Continue in IntelliJ IDEA: diff --git a/pages/generative-apis/reference-content/adding-ai-to-vscode-using-continue.mdx b/pages/generative-apis/reference-content/adding-ai-to-vscode-using-continue.mdx index 898dd6bf8c..138fb261a6 100644 --- a/pages/generative-apis/reference-content/adding-ai-to-vscode-using-continue.mdx +++ b/pages/generative-apis/reference-content/adding-ai-to-vscode-using-continue.mdx @@ -54,7 +54,26 @@ To link Continue with Scaleway's Generative APIs, you need to configure a settin For more details on configuring `config.json`, refer to the [official Continue documentation](https://docs.continue.dev/reference). -### Activate Continue in VS Code +### Configuring tab completion + +To enable AI-powered tab completion in Continue, add the following configuration to your `.continue/config.json`: + +```json +{ + "tabAutocompleteModel": { + "title": "Scaleway", + "provider": "scaleway", + "model": "qwen2.5-coder-32b-instruct", + "apiKey": "###SCW_SECRET_KEY###" + } +} +``` + + + 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). + + +### Activating Continue in VS Code After configuring the API, open VS Code and activate Continue: