Add a Mistral provider preset (Mistral's API is OpenAI-compatible).
Where: server/app/chatbot_client.py → PRESETS (copy the openai entry).
Details:
- URL:
https://api.mistral.ai/v1/chat/completions, header Authorization: Bearer <MISTRAL_API_KEY>.
- Template uses
{{messages}}; response path $.choices[0].message.content; tokens under $.usage.*.
Acceptance:
- Preset id
mistral shows in the dropdown; connector tests still pass.
Add a Mistral provider preset (Mistral's API is OpenAI-compatible).
Where:
server/app/chatbot_client.py→PRESETS(copy theopenaientry).Details:
https://api.mistral.ai/v1/chat/completions, headerAuthorization: Bearer <MISTRAL_API_KEY>.{{messages}}; response path$.choices[0].message.content; tokens under$.usage.*.Acceptance:
mistralshows in the dropdown; connector tests still pass.