mirror of
https://github.com/mudler/LocalAI.git
synced 2026-05-23 04:09:29 -05:00
feat(swagger): update swagger (#7794)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
@@ -1889,6 +1889,17 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.InputTokensDetails": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"image_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
"text_tokens": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.Item": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -2581,6 +2592,16 @@ const docTemplate = `{
|
||||
"completion_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
"input_tokens": {
|
||||
"description": "Fields for image generation API compatibility",
|
||||
"type": "integer"
|
||||
},
|
||||
"input_tokens_details": {
|
||||
"$ref": "#/definitions/schema.InputTokensDetails"
|
||||
},
|
||||
"output_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
"prompt_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user