Skip to content

Commit fff83af

Browse files
Update inference types (automated commit) (#3051)
Co-authored-by: Wauplin <[email protected]>
1 parent 860f01c commit fff83af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/huggingface_hub/inference/_generated/types/chat_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class ChatCompletionInputMessage(BaseInferenceType):
4545
tool_calls: Optional[List[ChatCompletionInputToolCall]] = None
4646

4747

48-
ChatCompletionInputGrammarTypeType = Literal["json", "regex"]
48+
ChatCompletionInputGrammarTypeType = Literal["json", "regex", "json_schema"]
4949

5050

5151
@dataclass_with_extra

src/huggingface_hub/inference/_generated/types/text_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .base import BaseInferenceType, dataclass_with_extra
99

1010

11-
TypeEnum = Literal["json", "regex"]
11+
TypeEnum = Literal["json", "regex", "json_schema"]
1212

1313

1414
@dataclass_with_extra

0 commit comments

Comments
 (0)