chore: update dependencies in Cargo.lock and Cargo.toml, add fm-rs package and modify tauri-plugin-foundation-models dependencies
This commit is contained in:
16
src-tauri/Cargo.lock
generated
16
src-tauri/Cargo.lock
generated
@@ -1819,6 +1819,16 @@ dependencies = [
|
||||
"spin",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fm-rs"
|
||||
version = "0.1.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "76ba96ac90cf1955a708bc53f2a2730a042609fe0836c5989b1d4424f471e868"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fnv"
|
||||
version = "1.0.7"
|
||||
@@ -6505,15 +6515,15 @@ dependencies = [
|
||||
name = "tauri-plugin-foundation-models"
|
||||
version = "0.6.599"
|
||||
dependencies = [
|
||||
"jan-utils",
|
||||
"fm-rs",
|
||||
"log",
|
||||
"nix",
|
||||
"serde",
|
||||
"sysinfo",
|
||||
"serde_json",
|
||||
"tauri",
|
||||
"tauri-plugin",
|
||||
"thiserror 2.0.17",
|
||||
"tokio",
|
||||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -54,7 +54,10 @@ test-tauri = [
|
||||
"tauri/macos-private-api",
|
||||
"tauri/tray-icon",
|
||||
"tauri/test",
|
||||
"desktop",
|
||||
"deep-link",
|
||||
"hardware",
|
||||
"mlx",
|
||||
# Note: foundation-models excluded from tests - framework not available in CI
|
||||
]
|
||||
cli = ["dep:env_logger", "dep:dialoguer", "dep:indicatif", "dep:console"]
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ struct ChatCompletionRequest {
|
||||
#[allow(dead_code)]
|
||||
top_p: Option<f64>,
|
||||
max_tokens: Option<u32>,
|
||||
#[allow(dead_code)]
|
||||
stream: Option<bool>,
|
||||
#[allow(dead_code)]
|
||||
stop: Option<Vec<String>>,
|
||||
|
||||
Reference in New Issue
Block a user