Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3638f73

Browse filesBrowse files
authored
feat: Add 'required' literal to ChatCompletionToolChoiceOption (abetlen#1597)
1 parent 0700476 commit 3638f73
Copy full SHA for 3638f73

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎llama_cpp/llama_types.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_types.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.