Skip to main content

Type Alias: GatewayInferenceInputOutputMessage

type GatewayInferenceInputOutputMessage = {
id: string;
type: "message";
role: "assistant";
content: GatewayInferenceInputOutputContent[];
status: "in_progress" | "completed" | "incomplete";
};

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

Portkey OutputMessage; strict modeled input with explicit JSON extension maps.

Example​

`GatewayInferenceInputOutputMessageSchema.parse(value);`

Properties​

id​

id: string;

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


type​

type: "message";

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


role​

role: "assistant";

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


content​

content: GatewayInferenceInputOutputContent[];

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


status​

status: "in_progress" | "completed" | "incomplete";

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