Skip to main content

tool_in_flight_note

Function tool_in_flight_note 

Source
pub fn tool_in_flight_note(reason: InterruptReason, tools: &[String]) -> String
Expand description

The note a cancel records when the engine never reported back on a tool call the interrupted response made (session::actor keep_streamed_partial): the engine’s canceled-tool_result wording, hedged to “may have already started” because the actor can’t tell whether the call began. A plain user-role message, recognised by its exact text like the interruption marker (never by a host key a rolled-back 0.10.2 would take for an archive marker); the generator and the matcher live in agent_core::core::host_note, which archive projection (agent-core) uses too.