콘텐츠로 이동

SequentialToolExecutor

이 콘텐츠는 아직 번역되지 않았습니다.

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

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