Skip to content

TurnMetadata

Defined in: src/types.ts:274

End-of-turn metadata.

Properties

config

config: object

Defined in: src/types.ts:286

Session-level config snapshot for this turn.

maxIterations

maxIterations: number

thinkingConfig?

optional thinkingConfig?: ThinkingConfig


iterations

iterations: number

Defined in: src/types.ts:276

How many LLM inference iterations occurred in this turn.


latencyMs

latencyMs: number

Defined in: src/types.ts:278

End-to-end wall-clock time for the entire turn (ms).


model

model: ModelConfig

Defined in: src/types.ts:280

The model used for this turn.


repo

repo: object

Defined in: src/types.ts:284

Repo state at the time of the turn.

commitish

commitish: string

url

url: string


thinkingEffort?

optional thinkingEffort?: string

Defined in: src/types.ts:282

Thinking effort level the model used (undefined if thinking off).