Repository navigation
feat: add Mistral hosted API support - #889
Merged
Merged
Conversation
57 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Issue #860 requires hosted-provider support without duplicating provider ownership or assuming protocol compatibility. Mistral needs its stable provider ID, official endpoint and credential namespace, exact tool-capable model IDs, and its documented tool-call roundtrip represented by existing registry/runtime seams.
Refs #860.
Scope
This PR covers Mistral only. It does not add or modify other Phase 3 providers, shared mask/CSS/notice infrastructure, or Phase 7 behavior.
Verification
npm run typecheck— passed for all workspaces.npm test— passed for scripts, core, storage, runtime, headless, CLI, UI, and Desktop.npm run check:stale— passed after the required renderer build.Impact
Users can configure Mistral from the provider catalog and use it through Desktop, CLI, storage, headless, Harbor, and runtime flows. No migration is required; existing connection data and providers are unchanged.
Reviewer notes
The vendored SVG comes from
lobehub/lobe-icons, package@lobehub/[email protected], commit32f4083f7a20b67ecdc7b29c0af031ada5a29c52, pathpackages/static-svg/icons/mistral.svg, MIT license, SHA-256a06cfa54e7deff7f7544175b006b7f8a03fbc5624c44f7d553a44d07ea96e629.The required independent reviewer reported no P0–P3 findings.
Ready for review
Verificationexplains why it is not applicable