Skip to main content

request_subagent_cancel

Function request_subagent_cancel 

Source
pub fn request_subagent_cancel(
    config: &Config,
    db: &Database,
    chat_id: i64,
    run_id: &str,
) -> Result<bool, MicroClawError>
Expand description

Shared cancellation boundary for product UIs that already resolved and authorized the owning chat. The database flag survives process failure; the in-memory flag interrupts a currently executing run promptly.