Skip to content

SequentialToolExecutor

This content is not available in your language yet.

测试与早期集成用的确定性工具执行器:按输入序逐个执行,不做并发 / 权限 / 超时。

new SequentialToolExecutor(handlers): SequentialToolExecutor;

| Map<string, SequentialToolHandler> | Record<string, SequentialToolHandler>

SequentialToolExecutor

execute(calls, ctx): AsyncGenerator<ToolExecutorYield, ToolExecutionOutcome, undefined>;

ProposedToolCall[]

ToolExecutionContext

AsyncGenerator<ToolExecutorYield, ToolExecutionOutcome, undefined>

ToolExecutor.execute