Skip to main content

Type Alias: GatewayInferenceInputInputMessage

type GatewayInferenceInputInputMessage = {
type?: "message";
role: "user" | "system" | "developer";
status?: "in_progress" | "completed" | "incomplete";
content: GatewayInferenceInputInputMessageContentList;
};

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

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

Example​

`GatewayInferenceInputInputMessageSchema.parse(value);`

Properties​

type?​

optional type?: "message";

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


role​

role: "user" | "system" | "developer";

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


status?​

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

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


content​

content: GatewayInferenceInputInputMessageContentList;

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