scriptedModel / scripted_model
Test kit.
Consumes the script in order, deterministic ids; a call past the end fails the run. The exact requests are in the log.
Import from @threads/core (TypeScript) or threads (Python).
function scriptedModel(script: ModelScript): ModelParameters
scriptModelScriptrequiredThe answers the model gives, in order: each entry is a response (content, stop_reason, usage) or a provider error. A call past the end fails the run.