reset • AI Agent SDK

reset: Rewind to the start of the script and forget recorded requests.

reset

Method

</div>

This is a method of the ScriptedModel class in the scripted module.

Rewind to the start of the script and forget recorded requests.

Generated tool-call ids restart too, so a re-run is byte-identical.

Signature

python
def reset() -> None

Uses

  • itertools.count

Used By

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 356