Skip to main content

Type Alias: GatewayInferenceInputChatCompletionRequestDeveloperMessage

type GatewayInferenceInputChatCompletionRequestDeveloperMessage = {
content: string;
role: "developer";
name?: string;
};

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

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

Example​

`GatewayInferenceInputChatCompletionRequestDeveloperMessageSchema.parse(value);`

Properties​

content​

content: string;

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


role​

role: "developer";

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


name?​

optional name?: string;

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