From e1119119108c1e2c09bf8e8a839ec95de654a7e2 Mon Sep 17 00:00:00 2001 From: Bastin Florian <33825469+BastinFlorian@users.noreply.github.com> Date: Fri, 7 Mar 2025 15:55:36 +0100 Subject: [PATCH] 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 --- docs/docs/customize/model-providers/top-level/azure.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/model-providers/top-level/azure.mdx b/docs/docs/customize/model-providers/top-level/azure.mdx index cbb955bca..6ccb0508d 100644 --- a/docs/docs/customize/model-providers/top-level/azure.mdx +++ b/docs/docs/customize/model-providers/top-level/azure.mdx @@ -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: @@ -60,6 +60,8 @@ We recommend configuring **Codestral** as your autocomplete model. - name: Codestral provider: mistral model: codestral-latest + apiBase: https://..models.ai.azure.com/v1, + apiKey: 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://..models.ai.azure.com/v1", + "apiKey": "" } } ```