Skip to main content

Type Alias: GatewayInferenceResponseOutputItemAddedEvent

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

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

Portkey ResponseOutputItemAddedEvent; additive response fields are preserved.

Example​

`GatewayInferenceResponseOutputItemAddedEventSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "response.output_item.added";

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


output_index​

output_index: number;

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


item​

item: GatewayInferenceOutputItem;

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