Skip to content

Commit bc425fa

Browse files
committed
add required as an option for tool_choice in chat/completions api
1 parent afe0b7c commit bc425fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7534,7 +7534,8 @@ components:
75347534
description: >
75357535
`none` means the model will not call a function and instead generates a message.
75367536
`auto` means the model can pick between generating a message or calling a function.
7537-
enum: [none, auto]
7537+
`required` means the model must pick a function to call.
7538+
enum: [none, auto, required]
75387539
- $ref: "#/components/schemas/ChatCompletionNamedToolChoice"
75397540
x-oaiExpandable: true
75407541

0 commit comments

Comments
 (0)