ToolExecutor
This content is not available in your language yet.
工具执行缝(调度器落地本接口;另有测试用 SequentialToolExecutor)。 契约:execute 对一批 calls 负责到底——permission 询问、并发调度、超时、 discard 都在实现内;查询环只消费 yield 的事件/状态信号并等待最终 outcome。
execute()
Section titled “execute()”execute(calls, ctx): AsyncGenerator<ToolExecutorYield, ToolExecutionOutcome, undefined>;AsyncGenerator<ToolExecutorYield, ToolExecutionOutcome, undefined>
Was this page helpful?
Thanks for your feedback.