streamedToolRounds
function streamedToolRounds(maxModelTurns): <Delta>(model, tools) => AsyncGenerator<Delta, "finish" | "interrupt">;Defined in: agents/src/rounds.ts:49
Stream both model output and tool progress. The limit counts model turns, including the last.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
maxModelTurns |
number |
Returns
Section titled “Returns”<Delta>(model, tools) => AsyncGenerator<Delta, "finish" | "interrupt">