Skip to main content

Type Alias: GatewayInferenceResponseOutputItemDoneEvent

type GatewayInferenceResponseOutputItemDoneEvent = {
[key: string]: unknown;
type: "response.output_item.done";
output_index: number;
item: GatewayInferenceOutputItem;
};

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

Portkey ResponseOutputItemDoneEvent; additive response fields are preserved.

Example​

`GatewayInferenceResponseOutputItemDoneEventSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "response.output_item.done";

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


output_index​

output_index: number;

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


item​

item: GatewayInferenceOutputItem;

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