add model to MistralConfig
This commit is contained in:
Generated
+2
-1
@@ -2005,6 +2005,7 @@ dependencies = [
|
||||
"thiserror 2.0.19",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2037,7 +2038,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "own_assist_common"
|
||||
version = "0.4.3"
|
||||
version = "0.4.4"
|
||||
dependencies = [
|
||||
"log",
|
||||
"ollama-rs",
|
||||
|
||||
@@ -21,6 +21,7 @@ base64 = "0.23.0"
|
||||
cpal = "0.18.1"
|
||||
rodio = "0.22.2"
|
||||
tokio-util = { version = "0.7.18", optional = true }
|
||||
url = "2.5.8"
|
||||
|
||||
[features]
|
||||
default = ["built-in-mcp-collection"]
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "own_assist_common"
|
||||
version = "0.4.3"
|
||||
version = "0.4.4"
|
||||
edition = "2024"
|
||||
license = "GPL-3.0"
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ pub struct OllamaModelConfig {
|
||||
pub struct MistralConfig {
|
||||
#[serde(rename = "api-key")]
|
||||
pub api_key: String,
|
||||
pub model: String,
|
||||
#[serde(rename = "system-prompt")]
|
||||
pub system_prompt: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user