📝 set up codestral walkthrough
This commit is contained in:
parent
7a9c0c02b5
commit
f9e819d728
3 changed files with 41 additions and 0 deletions
40
docs/docs/walkthroughs/set-up-codestral.md
Normal file
40
docs/docs/walkthroughs/set-up-codestral.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
title: How to set up Codestral
|
||||
description: How to set up Codestral
|
||||
keywords: [codestral, mistral, model setup]
|
||||
---
|
||||
|
||||
# How to set up Codestral with Continue
|
||||
|
||||

|
||||
|
||||
**Here is a step-by-step guide on how to set up Codestral with Continue using the Mistral AI API:**
|
||||
|
||||
1. Install the Continue VS Code or JetBrains extension following the instructions [here](../quickstart.md)
|
||||
|
||||
2. Click on the gear icon in the bottom right corner of the Continue window to open `~/.continue/config.json` (MacOS) / `%userprofile%\.continue\config.json` (Windows)
|
||||
|
||||
3. Log in and create an API key on Mistral AI's La Plateforme [here](https://console.mistral.ai/api-keys/)
|
||||
|
||||
4. To use Codestral as your model for both `autocomplete` and `chat`, replace `[API_KEY]` with your Mistral API key below and add it to your `config.json` file:
|
||||
|
||||
```json title="~/.continue/config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "Codestral",
|
||||
"provider": "mistral"
|
||||
"model": "codestral-latest",
|
||||
"apiKey": "[API_KEY]",
|
||||
}
|
||||
],
|
||||
"tabAutocompleteModel": {
|
||||
"title": "Codestral",
|
||||
"provider": "mistral",
|
||||
"model": "codestral-latest"
|
||||
"apiKey": "[API_KEY]",
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
5. If you run into any issues or have any questions, please join our Discord and post in the `#help` channel [here](https://discord.gg/EfJEfdFnDQ)
|
||||
|
|
@ -47,6 +47,7 @@ const sidebars = {
|
|||
collapsed: true,
|
||||
items: [
|
||||
// "walkthroughs/codellama",
|
||||
"walkthroughs/set-up-codestral",
|
||||
"walkthroughs/running-continue-without-internet",
|
||||
"walkthroughs/codebase-embeddings",
|
||||
"walkthroughs/tab-autocomplete",
|
||||
|
|
|
|||
BIN
docs/static/img/mistral-x-continue.png
vendored
Normal file
BIN
docs/static/img/mistral-x-continue.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Loading…
Add table
Reference in a new issue