Skip to content

Commit 30ec651

Browse files
[Bot] Update tasks specs (huggingface#1069)
This PR updates the @huggingface/tasks specs. It has been generated by running: ```sh pnpm run inference-tgi-import pnpm run inference-tei-import pnpm run inference-codegen ``` This PR was automatically created by the [Tasks - Update specs workflow](https://github.com/huggingface/huggingface.js/blob/main/.github/update-specs.yml). Make sure the changes are correct before merging. Co-authored-by: Wauplin <[email protected]>
1 parent fd95e17 commit 30ec651

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/tasks/src/tasks/chat-completion/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"type": "integer",
3333
"format": "int32",
3434
"description": "The maximum number of tokens that can be generated in the chat completion.",
35+
"default": "1024",
3536
"example": "32",
3637
"nullable": true,
3738
"minimum": 0

packages/tasks/src/tasks/text-generation/spec/input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"type": "integer",
7777
"format": "int32",
7878
"description": "Maximum number of tokens to generate.",
79-
"default": "100",
79+
"default": "1024",
8080
"example": "20",
8181
"nullable": true,
8282
"minimum": 0

0 commit comments

Comments
 (0)