Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3638f73

Browse files
authored
feat: Add 'required' literal to ChatCompletionToolChoiceOption (#1597)
1 parent 0700476 commit 3638f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class ChatCompletionNamedToolChoice(TypedDict):
275275

276276

277277
ChatCompletionToolChoiceOption = Union[
278-
Literal["none", "auto"], ChatCompletionNamedToolChoice
278+
Literal["none", "auto", "required"], ChatCompletionNamedToolChoice
279279
]
280280

281281

0 commit comments

Comments
 (0)