Skip to main content

ToolProgress

Type Alias ToolProgress 

Source
pub type ToolProgress = Arc<dyn Fn(&str, &str) + Send + Sync>;
Expand description

Reports one tool call’s result the moment it resolves, from inside the executor - (tool_call_id, result). Dispatch builds one per batch to journal each completion as a ToolCallDone record, so a crash mid-batch loses only the calls that genuinely never finished (issue #96). Implementors that don’t journal get a no-op.

Aliased Type§

pub struct ToolProgress { /* private fields */ }