Skip to main content

Type Alias: GatewayInferenceResponseFailedEvent

type GatewayInferenceResponseFailedEvent = {
[key: string]: unknown;
type: "response.failed";
response: GatewayInferenceResponse;
};

Defined in: src/models/ai-gateway-inference.ts:4912

Portkey ResponseFailedEvent; additive response fields are preserved.

Example​

`GatewayInferenceResponseFailedEventSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "response.failed";

Defined in: src/models/ai-gateway-inference.ts:4913


response​

response: GatewayInferenceResponse;

Defined in: src/models/ai-gateway-inference.ts:4914