Skip to main content

tool_loop_resumable

Function tool_loop_resumable 

Source
pub fn tool_loop_resumable<'a, Ctx: LoopDepth + Send + Sync + 'static>(
    provider: &'a dyn DynProvider,
    registry: &'a ToolRegistry<Ctx>,
    params: ChatParams,
    config: ToolLoopConfig,
    ctx: &Ctx,
) -> ToolLoopHandle<'a, Ctx>
Expand description

Convenience function to create a resumable tool loop.

Equivalent to ToolLoopHandle::new().