Expand description
Tool executors: how the tool calls of one model turn run.
ConcurrentToolExecutor (the default) runs every call of a batch on its own task;
SequentialToolExecutor runs them one after another. Choose one with
ToolExecutorStrategy.
The executors only schedule. The agent loop supplies the per-tool pipeline (the before-call
hook, the tool stream, the after-call hook and retries) as a function that reports the call’s
events through a sink and returns its ToolOutcome.
Structs§
- Concurrent
Tool Executor - Runs the tool calls of a turn concurrently, each on its own task (
ConcurrentToolExecutor). - Sequential
Tool Executor - Runs the tool calls of a turn one at a time, in order (
SequentialToolExecutor).
Enums§
- Tool
Executor Strategy - How the tool calls of one model turn run (
ToolExecutorStrategy).