#14730: Add Mistral AI as a model provider
cli
commands
stale
size: L
Cluster:
Voice Transcription Enhancements
This PR adds support for Mistral AI as a model provider in the onboarding flow. It includes the necessary configuration for Mistral's API, model definitions, and integration into the wizard.
Programmed with the help of Gemini CLI. I know how the code does
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR wires Mistral AI into the onboarding/auth flow by adding a new `mistral-api-key` auth choice, a `--mistral-api-key` CLI flag, and provider/model configuration defaults (base URL, default model definition, and provider config application).
The main issues are (1) a TypeScript type mismatch in `auth-choice-options.ts` where the new `mistral` group is not included in the local `AuthChoiceGroupId` union, and (2) `setMistralApiKey` is synchronous but is awaited in the Mistral auth-choice handler, which may fail lint/type checks and is inconsistent with other credential setters.
<h3>Confidence Score: 3/5</h3>
- This PR is close to mergeable but likely fails typecheck/lint as-is.
- Confidence reduced due to a confirmed TypeScript type mismatch (missing "mistral" in `AuthChoiceGroupId`) and awaiting a non-async function, which commonly fails repo lint/type rules. Otherwise changes are localized to onboarding/provider wiring.
- src/commands/auth-choice-options.ts, src/commands/auth-choice.apply.api-providers.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#16258: feat(models): add Mistral AI provider support
by joeVenner · 2026-02-14
87.4%
#11334: feat: add Mistral/Voxtral audio transcription provider
by JamesEBall · 2026-02-07
80.9%
#13295: feat: add Eternal AI provider integration
by peterparkernho · 2026-02-10
75.8%
#13079: feat: Add OpenAI-compatible API option to CLI for self-hosted models
by MikeWang0316tw · 2026-02-10
74.8%
#7295: feat(provider) Add Key-less AI Integration via Puter
by ProgrammerIn-wonderland · 2026-02-02
74.1%
#20965: feat: Add comprehensive model configuration and discovery for various…
by rodeok · 2026-02-19
74.0%
#12059: feat(agents): Add Azure AI Foundry credential support
by lisanyambere · 2026-02-08
73.3%
#2429: added cerebras as a model provider.
by kkkamur07 · 2026-01-26
73.1%
#3792: add ShengSuanYun (胜算云) as a model provider
by shengsuan · 2026-01-29
73.0%
#11204: feat(providers): add Chutes (Bittensor) provider
by CodingAbdullah · 2026-02-07
72.8%