SequentialToolExecutor
测试与早期集成用的确定性工具执行器:按输入序逐个执行,不做并发 / 权限 / 超时。
new SequentialToolExecutor(handlers): SequentialToolExecutor;handlers
Section titled “handlers”| Map<string, SequentialToolHandler>
| Record<string, SequentialToolHandler>
SequentialToolExecutor
execute()
Section titled “execute()”execute(calls, ctx): AsyncGenerator<ToolExecutorYield, ToolExecutionOutcome, undefined>;AsyncGenerator<ToolExecutorYield, ToolExecutionOutcome, undefined>
本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。