From 6f7175a0b056ed8b89d1fd8cd187da9ac0b956f0 Mon Sep 17 00:00:00 2001 From: David Vujic Date: Fri, 13 Mar 2026 20:54:47 +0100 Subject: [PATCH] docs(providers): add Mistral to the provider examples section --- docs/config/models.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/config/models.md b/docs/config/models.md index 5778033ee..bd3708e1a 100644 --- a/docs/config/models.md +++ b/docs/config/models.md @@ -415,7 +415,27 @@ When a retry rule matches, the chat shows a progress message like: } } ``` - + +=== "Mistral" + + The property `max_completion_token` is set to `null`, because Mistral does not support it. + + More details in the [Mistral API docs](https://docs.mistral.ai/api). + + ```javascript title="~/.config/eca/config.json" + { + "providers": { + "mistral": { + "api": "openai-chat", + "url": "https://api.mistral.ai/v1", + "key": "your-api-key", + "models": { + "mistral-medium": {"extraPayload": { "max_completion_tokens": null}} + } + } + } + ``` + === "Moonshot" ```javascript title="~/.config/eca/config.json"