Skip to content

Commit 01c9da5

Browse files
committed
Update Mistral documentation with API key instructions and streaming options, Roo Code Mistral Output VS Code output channel
1 parent d85542c commit 01c9da5

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

docs/providers/mistral.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Roo Code supports accessing models through the Mistral AI API, including both st
1212

1313
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.
1414
2. **Create an API Key:**
15-
- [La Plateforme API Key](https://console.mistral.ai/api-keys/) and/or
15+
- [La Plateforme API Key](https://console.mistral.ai/api-keys/) and/or
1616
- [Codestral API Key](https://console.mistral.ai/codestral)
1717

1818
## Supported Models
@@ -28,7 +28,7 @@ Roo Code supports the following Mistral models:
2828
| mistral-small-latest | 0.3 |||
2929
| pixtral-large-latest | 0.7 |||
3030

31-
The default model temperature in Roo Code is 0.0, so you should consider experimenting with [temperature adjustments](/advanced-usage/model-temperature)!
31+
The default model temperature in Roo Code is **0.0**, so you should consider experimenting with [temperature adjustments](/advanced-usage/model-temperature)!
3232

3333
**Note:** Model availability and specifications may change.
3434
Refer to the [Mistral AI documentation](https://docs.mistral.ai/api/) and [Mistral Model Overview](https://docs.mistral.ai/getting-started/models/models_overview/) for the latest information.
@@ -50,4 +50,20 @@ To use Codestral:
5050

5151
1. **Select "Mistral" as the API Provider.**
5252
2. **Select a Codestral Model**
53-
3. **Enter your Codestral (codestral.mistral.ai) or La Plateforme (api.mistral.ai) API Key.**
53+
3. **Enter your Codestral (codestral.mistral.ai) or La Plateforme (api.mistral.ai) API Key.**
54+
55+
### Enable streaming
56+
57+
Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message (the Mistral SDK takes care of that). Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result.
58+
59+
### Optional: Stop Token
60+
61+
Stop generation (Mistral API) if this token is detected. Optional and only an option of the [Mistral API](https://docs.mistral.ai/api/#tag/chat/operation/chat_completion_v1_chat_completions_post).
62+
63+
## Debug Output Channel
64+
65+
If you need the protocol of the **Mistral SDK** (requests and responses) and the **Roo Code Mistral Handler**, this can be activated in the Visual Studio Code settings:
66+
67+
![Debug Output setting](/img/roo-code-mistral-debug-setting.png)
68+
69+
![Roo Code Mistral Output Channel](/img/roo-code-mistral-output.png)
29.7 KB
Loading
85.8 KB
Loading

0 commit comments

Comments
 (0)