add model to MistralConfig

This commit is contained in:
2026-07-30 21:15:55 +02:00
parent a6bd1a8d5f
commit 236ef036ec
4 changed files with 5 additions and 2 deletions
Generated
+2 -1
View File
@@ -2005,6 +2005,7 @@ dependencies = [
"thiserror 2.0.19", "thiserror 2.0.19",
"tokio", "tokio",
"tokio-util", "tokio-util",
"url",
] ]
[[package]] [[package]]
@@ -2037,7 +2038,7 @@ dependencies = [
[[package]] [[package]]
name = "own_assist_common" name = "own_assist_common"
version = "0.4.3" version = "0.4.4"
dependencies = [ dependencies = [
"log", "log",
"ollama-rs", "ollama-rs",
+1
View File
@@ -21,6 +21,7 @@ base64 = "0.23.0"
cpal = "0.18.1" cpal = "0.18.1"
rodio = "0.22.2" rodio = "0.22.2"
tokio-util = { version = "0.7.18", optional = true } tokio-util = { version = "0.7.18", optional = true }
url = "2.5.8"
[features] [features]
default = ["built-in-mcp-collection"] default = ["built-in-mcp-collection"]
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "own_assist_common" name = "own_assist_common"
version = "0.4.3" version = "0.4.4"
edition = "2024" edition = "2024"
license = "GPL-3.0" license = "GPL-3.0"
+1
View File
@@ -87,6 +87,7 @@ pub struct OllamaModelConfig {
pub struct MistralConfig { pub struct MistralConfig {
#[serde(rename = "api-key")] #[serde(rename = "api-key")]
pub api_key: String, pub api_key: String,
pub model: String,
#[serde(rename = "system-prompt")] #[serde(rename = "system-prompt")]
pub system_prompt: Option<String>, pub system_prompt: Option<String>,
} }