Skip to main content

Type Alias: GatewayInferenceOutputMessage

type GatewayInferenceOutputMessage = {
[key: string]: unknown;
id: string;
type: "message";
role: "assistant";
content: GatewayInferenceOutputContent[];
status: "in_progress" | "completed" | "incomplete";
};

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

Portkey OutputMessage; additive response fields are preserved.

Example​

`GatewayInferenceOutputMessageSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

id​

id: string;

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


type​

type: "message";

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


role​

role: "assistant";

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


content​

content: GatewayInferenceOutputContent[];

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


status​

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

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