Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(clippy): der Nachladeweg nimmt den Schnappschusspfad als Path

David0143a7ccfe44
diff --git a/src-tauri/src/commands/mlx.rs b/src-tauri/src/commands/mlx.rs
index 6bb7fff7..353f1108 100644
--- a/src-tauri/src/commands/mlx.rs
+++ b/src-tauri/src/commands/mlx.rs
@@ -28,7 +28,7 @@ use crate::commands::CmdResult;
use crate::state::AppState;
use serde::Deserialize;
use serde_json::{json, Value};
-use std::path::PathBuf;
+use std::path::{Path, PathBuf};
use std::process::Command;
pub const MLX_PORT: u16 = 47712;
@@ -785,7 +785,7 @@ fn refetch_file(
python: &str,
repo: &str,
revision: &str,
- snap: &PathBuf,
+ snap: &Path,
repair: &crate::commands::mlx_snapshot::Repair,
) -> Result<(), String> {
let cache = mlx_root().join("cache");