Interface: IFailedResponse
Defined in: types.ts:707
The call could not be completed: a check failed it, the usage adapter refused it, it was aborted or timed out, or the reviewer rejected the answer.
The response of any of the three calls; never thrown. The host shows reason or the issues' userMessage and decides
whether to retry. What the caller got wrong (a 400, a 404) rejects response instead.
Properties
issues
issues:
IIssue[]
Defined in: types.ts:718
Why, for code: the input or output rules' issues, USAGE_DENIED_ISSUE_CODE, or the one issue of a
stopped call, CALL_ABORTED_ISSUE_CODE / CALL_TIMED_OUT_ISSUE_CODE.
kind
kind:
FAILED
Defined in: types.ts:709
The discriminant of TGatewayResponse.
reason
reason:
string
Defined in: types.ts:713
Why, in words, for the log and the developer; the end user reads the issues' userMessage.
threadId?
optionalthreadId?:string
Defined in: types.ts:711
The thread of the call, when it got as far as having one; absent when the call was refused before a thread existed.