Skip to content

Commit

Permalink
fix json, api key url (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
hroussez authored May 29, 2024
1 parent 9d4eb36 commit 4bfe358
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/docs/walkthroughs/set-up-codestral.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords: [codestral, mistral, model setup]

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/)
3. Log in and create an API key on Mistral AI's La Plateforme [here](https://console.mistral.ai/codestral)

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:

Expand All @@ -23,16 +23,16 @@ keywords: [codestral, mistral, model setup]
"models": [
{
"title": "Codestral",
"provider": "mistral"
"provider": "mistral",
"model": "codestral-latest",
"apiKey": "[API_KEY]",
"apiKey": "[API_KEY]"
}
],
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest"
"apiKey": "[API_KEY]",
"model": "codestral-latest",
"apiKey": "[API_KEY]"
}
}
```
Expand Down

0 comments on commit 4bfe358

Please sign in to comment.