Skip to main content

exit_loop

Function exit_loop 

Source
pub fn exit_loop() -> Arc<dyn Tool> ⓘ
Expand description

A tool that sets escalate and skip_summarization on the calling tool context’s actions, ending the enclosing loop.

Construction can fail only if schema inference fails for these fixed types, which it never does, so this signature is infallible and the impossible error is surfaced at call time instead of panicking.