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(remote): drop unused chat_id arg on shell_execute call

PurpleDoubleD27e37ed9ce05
diff --git a/src-tauri/src/commands/remote.rs b/src-tauri/src/commands/remote.rs
index 3d49629c..bf86b097 100644
--- a/src-tauri/src/commands/remote.rs
+++ b/src-tauri/src/commands/remote.rs
@@ -495,7 +495,8 @@ async fn handle_agent_tool(
let cwd = body.args.get("cwd").and_then(|v| v.as_str()).map(String::from);
let timeout = body.args.get("timeout").and_then(|v| v.as_u64());
let shell = body.args.get("shell").and_then(|v| v.as_str()).map(String::from);
- crate::commands::shell::shell_execute(command, None, cwd, timeout, shell, chat_id.clone()).await
+ let _ = &chat_id; // chat-scoped shell cwd not yet implemented
+ crate::commands::shell::shell_execute(command, None, cwd, timeout, shell).await
}
}
"system_info" => crate::commands::system::system_info(),