diff --git a/Cargo.toml b/Cargo.toml index cfbbf46..bd0aab8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -126,7 +126,6 @@ hostname = "0.4" # QR code generation qrcode = "0.14" -image = { version = "0.25", default-features = false, features = ["png"] } # WebSocket client tokio-tungstenite = { version = "0.21", features = ["native-tls"] } diff --git a/src/crates/core/Cargo.toml b/src/crates/core/Cargo.toml index 8d91673..32be809 100644 --- a/src/crates/core/Cargo.toml +++ b/src/crates/core/Cargo.toml @@ -106,7 +106,6 @@ hostname = { workspace = true } # QR code generation qrcode = { workspace = true } -image = { workspace = true } # WebSocket client tokio-tungstenite = { workspace = true } diff --git a/src/crates/core/src/agentic/coordination/coordinator.rs b/src/crates/core/src/agentic/coordination/coordinator.rs index 811bc56..5a76ab9 100644 --- a/src/crates/core/src/agentic/coordination/coordinator.rs +++ b/src/crates/core/src/agentic/coordination/coordinator.rs @@ -173,8 +173,15 @@ impl ConversationCoordinator { agent_type: String, skip_tool_confirmation: bool, ) -> BitFunResult<()> { - self.start_dialog_turn_internal(session_id, user_input, None, turn_id, agent_type) - .await + self.start_dialog_turn_internal( + session_id, + user_input, + None, + turn_id, + agent_type, + skip_tool_confirmation, + ) + .await } pub async fn start_dialog_turn_with_image_contexts( @@ -191,6 +198,7 @@ impl ConversationCoordinator { Some(image_contexts), turn_id, agent_type, + false, ) .await } @@ -202,6 +210,7 @@ impl ConversationCoordinator { image_contexts: Option>, turn_id: Option, agent_type: String, + skip_tool_confirmation: bool, ) -> BitFunResult<()> { // Get latest session (re-fetch each time to ensure latest state) let session = self