Skip to main content

Type Alias: GatewayInferenceChatCompletionToolChoiceOption

type GatewayInferenceChatCompletionToolChoiceOption =
| "none"
| "auto"
| "required"
| GatewayInferenceChatCompletionNamedToolChoice;

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

Portkey ChatCompletionToolChoiceOption; additive response fields are preserved.

Example​

`GatewayInferenceChatCompletionToolChoiceOptionSchema.parse(value);`