Skip to content

classifyRefusal

classifyRefusal(info): GthTerminationClassification

Defined in: packages/core/src/core/refusal.ts:317

The taxonomy classification a RefusalInfo stands for.

Exported so a call site that already holds the detected RefusalInfo — because it needs the explanation text for the user-facing notice — records the same classification detectStopMetadata would, rather than re-deriving the mapping beside it.

RefusalInfo

GthTerminationClassification