Skip to content

Commit ea82067

Browse files
authored
Update mistral.md
1 parent 14d103b commit ea82067

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

docs/providers/mistral.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ Roo Code supports accessing models through the Mistral AI API, including both st
77
## Getting an API Key
88

99
1. **Sign Up/Sign In:** Go to the [Mistral Platform](https://console.mistral.ai/). Create an account or sign in. You may need to go through a verification process.
10-
2. **Navigate to API Keys:** Navigate to the [API Keys](https://console.mistral.ai/api-keys/) page.
11-
3. **Create a Key:** Create a new API key. Give it a descriptive name (e.g., "Roo Code").
12-
4. **Copy the Key:** **Important:** Copy the API key *immediately*. You will not be able to see it again. Store it securely.
10+
2. **Create an API Keys:** Get a [Mistral API Key](https://console.mistral.ai/api-keys/) and/or a [Codestral API Key](https://console.mistral.ai/codestral).
11+
3. **Copy the Key:** **Important:** Copy the API key *immediately*. You will not be able to see it again. Store it securely.
1312

1413
## Supported Models
1514

@@ -28,21 +27,17 @@ Roo Code supports the following Mistral models, along with their context window
2827

2928
1. **Open Roo Code Settings:** Click the gear icon (<Codicon name="gear" />) in the Roo Code panel.
3029
2. **Select Provider:** Choose "Mistral" from the "API Provider" dropdown.
31-
3. **Enter API Key:** Paste your Mistral API key into the "API Key" field.
32-
4. **Select Model:** Choose your desired model from the "Model ID" dropdown. If you intend to use `codestral-latest`, see the "Codestral" section below.
33-
5. **(Optional) Codestral URL:** If you are using a Codestral model, make sure to enter `https://codestral.mistral.ai` into the "Codestral Base URL" box.
30+
3. **Enter API Key:** Paste your Mistral API key into the "Mistral API Key" field if you're using a `mistral` model. If you intend to use `codestral-latest`, see the "Codestral" section below.
31+
4. **Select Model:** Choose your desired model from the "Model" dropdown.
3432

3533
## Using Codestral
3634

3735
Codestral is a model specifically designed for code generation and interaction. To use Codestral:
3836

3937
1. **Select "Mistral" as the API Provider.**
40-
2. **Enter your Mistral API Key.** (The same API key works for both the standard Mistral API and the Codestral endpoint.)
38+
2. **Enter your Codestral API Key.**
4139
3. **Select a Codestral Model:** Choose a model with the `codestral-` prefix from the "Model ID" dropdown (e.g., `codestral-latest`).
42-
4. **Set the Codestral Base URL:** Enter `https://codestral.mistral.ai` in the "Codestral Base URL" field. This field appears only when a Codestral model is selected. If you do *not* set this URL correctly, requests to Codestral will fail.
4340

4441
## Tips and Notes
4542

46-
* **Pricing:** Refer to the [Mistral AI pricing](https://mistral.ai/pricing/) page for details on model costs.
47-
* **Prompt Caching:** At the moment, the models do not support prompt caching.
48-
* **Codestral:** Remember to set the `Codestral Base URL` when using Codestral models. The standard Mistral models use the default base URL (`https://api.mistral.ai`).
43+
* **Pricing:** Refer to the [Mistral AI pricing](https://mistral.ai/pricing/) page for details on model costs.

0 commit comments

Comments
 (0)