Skip to main content

Type Alias: GatewayInferenceChatCompletionStreamOptions

type GatewayInferenceChatCompletionStreamOptions =
| {
[key: string]: unknown;
include_usage?: boolean;
}
| null;

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

Portkey ChatCompletionStreamOptions; additive response fields are preserved.

Example​

`GatewayInferenceChatCompletionStreamOptionsSchema.parse(value);`