Skip to content

DebugDumpTermination

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/debugDump.ts:96

[[EXT-159]] — the termination section of a dump: the reason, and the provider’s own tokens.

finishReasons: readonly GthFinishReasonObservation[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/debugDump.ts:113

The provider’s stop/finish reason per observed model message — with token: null on any message that carried none.

Three states, and they are all different: a token says what the provider said; a null token says the provider said nothing about a message we DID see; and an empty list says no finished model message was observed at all.


reason: GthTerminationReason | null

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/debugDump.ts:104

The typed reason the last turn ended, or null when no site classified it.

null is written as null, never replaced by a placeholder category: the taxonomy’s contract is that absence means a site we missed, and a filled-in default would silence exactly the detector that contract exists to provide.