We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae9239 commit 437f83dCopy full SHA for 437f83d
crates/q_cli/src/cli/chat/mod.rs
@@ -475,10 +475,10 @@ where
475
tool_uses,
476
pending_tool_index,
477
} => {
478
- let tool_uses_clone = tool_uses.clone().unwrap();
+ let tool_uses_clone = tool_uses.clone();
479
tokio::select! {
480
res = self.handle_input(input, tool_uses, pending_tool_index) => res,
481
- Some(_) = ctrl_c_stream.recv() => Err(ChatError::Interrupted { tool_uses: Some(tool_uses_clone) })
+ Some(_) = ctrl_c_stream.recv() => Err(ChatError::Interrupted { tool_uses: tool_uses_clone })
482
}
483
},
484
ChatState::ExecuteTools(tool_uses) => {
0 commit comments