FIX(AZURE): Fix azure codestral documentation when deploying codestral in Azure AI Foundry

Based on this issue: https://github.com/continuedev/continue/issues/3735 

Update the documentation to use Codestral deployed in Azure with Azure AI Foundry
This commit is contained in:
Bastin Florian 2025-03-07 15:55:36 +01:00 • committed by GitHub
parent 71eb67d2ab
commit e111911910
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ We recommend configuring **GPT-4o** as your chat model.
## Autocomplete model
We recommend configuring **Codestral** as your autocomplete model.
We recommend configuring **Codestral** as your autocomplete model. If you use Azure AI Foundry to deploy Codestral:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
@ -60,6 +60,8 @@ We recommend configuring **Codestral** as your autocomplete model.
- name: Codestral
provider: mistral
model: codestral-latest
apiBase: https://<YOUR_MODEL_NAME>.<YOUR_REGION>.models.ai.azure.com/v1,
apiKey: <YOUR_AZURE_API_KEY>
roles:
- autocomplete
```
@ -70,7 +72,9 @@ We recommend configuring **Codestral** as your autocomplete model.
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest"
"model": "codestral-latest",
"apiBase": "https://<YOUR_MODEL_NAME>.<YOUR_REGION>.models.ai.azure.com/v1",
"apiKey": "<YOUR_AZURE_API_KEY>"
}
}
```