Skip to content

isClearlyErrorText

isClearlyErrorText(text): boolean

Defined in: state.ts:205

True when text is very clearly not copy: it contains an error message, a stack or status text, raw markup or JSON, or a model refusal. Conservative by design — anything that could be ordinary copy returns false.

string

boolean