Skip to content

GthTerminationReason

Defined in: packages/core/src/core/terminationReason.ts:360

Why a run ended, as one value.

category: GthTerminationCategory

Defined in: packages/core/src/core/terminationReason.ts:362

The taxonomy member.


optional detail?: string

Defined in: packages/core/src/core/terminationReason.ts:373

The raw token the classification was made from — a finish_reason, a stop_reason, an error name or status. Diagnostic detail, never the carrier of the classification itself.


optional provider?: string

Defined in: packages/core/src/core/terminationReason.ts:368

Provider family, where the classification knew one.


optional remedy?: GthTerminationRemedy

Defined in: packages/core/src/core/terminationReason.ts:254

The change that makes retryableAfterRemedy true; absent when it is false.

GthTerminationPosture.remedy


retryableAfterRemedy: boolean

Defined in: packages/core/src/core/terminationReason.ts:252

Is sending it again worthwhile once remedy has been applied?

GthTerminationPosture.retryableAfterRemedy


retryableAsIs: boolean

Defined in: packages/core/src/core/terminationReason.ts:250

Is sending the identical request again a sane thing to do?

GthTerminationPosture.retryableAsIs


site: GthTerminationSite

Defined in: packages/core/src/core/terminationReason.ts:364

The site that classified it.


source: GthTerminationSource

Defined in: packages/core/src/core/terminationReason.ts:366

Which feeder classified it.