(&self, tool_id: &str, action_taken: &str)
| 105 | } |
| 106 | |
| 107 | async fn forward_timeout(&self, tool_id: &str, action_taken: &str) { |
| 108 | self.forward_event(AgentEvent::ConfirmationTimeout { |
| 109 | tool_id: tool_id.to_string(), |
| 110 | action_taken: action_taken.to_string(), |
| 111 | }) |
| 112 | .await; |
| 113 | } |
| 114 | |
| 115 | async fn forward_event(&self, event: AgentEvent) { |
| 116 | if let Some(tx) = self.event_tx { |