fix: satisfy ai permission mode clippy

This commit is contained in:
lucaronin
2026-04-29 01:04:13 +02:00
parent d2d4746d5c
commit 0bf280d3ec
5 changed files with 10 additions and 23 deletions

View File

@@ -30,7 +30,7 @@ fn run_agent_stream_with_binary<F>(
where
F: FnMut(AiAgentStreamEvent),
{
let mut command = crate::opencode_config::build_command(&binary, &request)?;
let mut command = crate::opencode_config::build_command(binary, &request)?;
let mut child = command
.spawn()
.map_err(|error| format!("Failed to spawn opencode: {error}"))?;