(&self, event: &AgentEvent, run_id: &str)
| 713 | } |
| 714 | |
| 715 | fn record_runtime_agent_event(&self, event: &AgentEvent, run_id: &str) { |
| 716 | if matches!(event, AgentEvent::Error { .. }) { |
| 717 | self.record_error(); |
| 718 | } |
| 719 | self.runtime_state.observe_agent_event(event, run_id); |
| 720 | } |
| 721 | |
| 722 | fn record_hook_event_state(&self, event: &HookEvent) { |
| 723 | if matches!(event, HookEvent::OnError(_)) { |
no test coverage detected