(&self, event: &AgentEvent, run_id: &str, session_id: &str)
| 175 | } |
| 176 | |
| 177 | async fn record_agent_event(&self, event: &AgentEvent, run_id: &str, session_id: &str) { |
| 178 | self.events.lock().unwrap().push(( |
| 179 | run_id.to_string(), |
| 180 | session_id.to_string(), |
| 181 | event.clone(), |
| 182 | )); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | impl CancellableStreamingClient { |