Plays a script of model turns: [{ text: 'ok' }, { toolCall: { name: 'verify', args: {} } }]. It throws a plain Error when the script runs out, since that is a bug in the test, not a provider failure.
[{ text: 'ok' }, { toolCall: { name: 'verify', args: {} } }]
Error
Readonly
Provider id.
Every request the provider got, in order.
Private
How many steps are left to play.
Streams one model turn. Aborting signal stops the stream.
signal
Plays a script of model turns:
[{ text: 'ok' }, { toolCall: { name: 'verify', args: {} } }]. It throws a plainErrorwhen the script runs out, since that is a bug in the test, not a provider failure.