Files
picoclaw/pkg
Edouard CLAUDE 65422a16a4 feat: add native Mistral AI provider support
Add Mistral as a first-class provider alongside the 17 existing ones.
Mistral uses the OpenAI-compatible API at https://api.mistral.ai/v1
with provider-specific model prefix stripping (mistral/model → model).

Changes:
- Add Mistral to ProvidersConfig, IsEmpty(), HasProvidersConfig()
- Add mistral entry in default model_list (defaults.go)
- Add mistral protocol in factory_provider.go and getDefaultAPIBase()
- Add mistral prefix stripping in openai_compat normalizeModel()
- Add mistral case in legacy factory.go resolveProviderSelection()
- Add mistral migration entry in ConvertProvidersToModelList()
- Add mistral to supported providers in migrate/config.go
- Add mistral section in config.example.json
- Update AllProviders test (17 → 18 providers)

Tested end-to-end with mistral-small-latest model.
2026-02-22 11:40:21 +04:00
..
2026-02-21 08:21:38 +08:00
2026-02-20 20:03:11 +02:00
2026-02-20 22:35:16 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-20 20:03:11 +02:00
2026-02-18 21:48:23 +02:00
2026-02-21 16:20:15 +08:00
2026-02-20 20:03:11 +02:00
2026-02-20 22:35:16 +02:00