assistant: Add Mistral support (#24879)

Closes #12519.

Release Notes:

- Added support for Mistral to the Assistant.

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
Shidfar Hodizoda 2025-02-14 19:07:41 +01:00 committed by GitHub
parent 5c5caf1ffe
commit 7ee492746d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 1034 additions and 0 deletions

15
Cargo.lock generated
View file

@ -6965,6 +6965,7 @@ dependencies = [
"image",
"lmstudio",
"log",
"mistral",
"ollama",
"open_ai",
"parking_lot",
@ -7012,6 +7013,7 @@ dependencies = [
"language_model",
"lmstudio",
"menu",
"mistral",
"ollama",
"open_ai",
"project",
@ -7973,6 +7975,19 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "mistral"
version = "0.1.0"
dependencies = [
"anyhow",
"futures 0.3.31",
"http_client",
"schemars",
"serde",
"serde_json",
"strum",
]
[[package]]
name = "msvc_spectre_libs"
version = "0.1.2"