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
def reset() -> NoneUses
itertools.count
Used By
ContextManager.processContextManager.resetObservabilityHooks.start_executionPersistentRestartLoopGuard.resetKnowledge.reset
Source
View on GitHubpraisonaiagents/model_harness/scripted.py at line 356