Package: @effect/ai-openai-compat
Module: OpenAiClient
Controls whether the model may call tools and can force a specific function.
Signature
type ChatCompletionToolChoice = | "none"
| "auto"
| "required"
| {
readonly type: "function"
readonly function: {
readonly name: string
}
}
Since v4.0.0