PortalLlmFailure
Defined in: src/lib/memory/portalLlm.ts:152
A give-up report: the classified PortalLlmFailureReason plus the little context worth carrying into telemetry. Both extra fields are bounded (a status code, a small attempt count), so both are safe as event properties.
Properties
attempts
attempts:
number
Defined in: src/lib/memory/portalLlm.ts:158
How many attempts ran before giving up (1-based, ≥ 1).
httpStatus?
optionalhttpStatus:number
Defined in: src/lib/memory/portalLlm.ts:156
HTTP status, when the failure was an HTTP one.
reason
reason:
PortalLlmFailureReason
Defined in: src/lib/memory/portalLlm.ts:154
Stable code for the last failure observed.
Last updated on