MCPcopy Index your code
hub / github.com/AI45Lab/Code / fire

Method fire

core/src/agent_api/tests.rs:173–175  ·  view source on GitHub ↗
(&self, _event: &crate::hooks::HookEvent)

Source from the content-addressed store, hash-verified

171#[async_trait::async_trait]
172impl crate::hooks::HookExecutor for RecordingRuntimeHook {
173 async fn fire(&self, _event: &crate::hooks::HookEvent) -> crate::hooks::HookResult {
174 crate::hooks::HookResult::Continue(None)
175 }
176
177 async fn record_agent_event(&self, event: &AgentEvent, run_id: &str, session_id: &str) {
178 self.events.lock().unwrap().push((

Callers 9

fire_pre_tool_useMethod · 0.45
fire_post_tool_useMethod · 0.45
fire_post_responseMethod · 0.45
fire_on_errorMethod · 0.45
fire_generate_startMethod · 0.45
fire_generate_endMethod · 0.45
fire_intent_detectionMethod · 0.45
fire_pre_promptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected