Skip to content
providerkit
GitHub

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.

Parameter Type
maxModelTurns number

<Delta>(model, tools) => AsyncGenerator<Delta, "finish" | "interrupt">