Skip to main content

Function: loopIdentity()

loopIdentity(definition): ExecutionIdentityParts

Defined in: packages/core/src/runtime/durable-tools.ts:235

A loop's identity in two parts (I2). The fields that change what a resumed step means decide resume: the model, the instructions, the output schema, and each tool's input schema, replay rule and version. A tool's description is recorded for diagnosis and never blocks resume, so a reworded description resumes and a changed schema refuses, naming the field. A tool whose execute declares no version is reported as unversioned, so strict durability refuses it at start.

Parameters​

definition​

LoopDefinition

Returns​

ExecutionIdentityParts