MCPcopy Create free account
hub / github.com/AI45Lab/Code / record_runtime_agent_event

Method record_runtime_agent_event

core/src/ahp/executor.rs:715–720  ·  view source on GitHub ↗
(&self, event: &AgentEvent, run_id: &str)

Source from the content-addressed store, hash-verified

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(_)) {

Callers 1

publish_agent_eventMethod · 0.80

Calls 2

record_errorMethod · 0.80
observe_agent_eventMethod · 0.80

Tested by

no test coverage detected