mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 12:54:52 +00:00
fix: update openapi schema
This commit is contained in:
parent
e57b6cccda
commit
7825c0744a
@ -1824,7 +1824,8 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"finish_reason",
|
"finish_reason",
|
||||||
"generated_tokens"
|
"generated_tokens",
|
||||||
|
"input_length"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"finish_reason": {
|
"finish_reason": {
|
||||||
@ -1836,6 +1837,12 @@
|
|||||||
"example": 1,
|
"example": 1,
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
},
|
},
|
||||||
|
"input_length": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32",
|
||||||
|
"example": 1,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
"seed": {
|
"seed": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
|
Loading…
Reference in New Issue
Block a user