mirror of
https://github.com/mudler/LocalAI.git
synced 2025-02-20 17:32:47 +00:00
feat(swagger): update swagger (#3664)
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:
parent
ef1507d000
commit
d6522e69ca
@ -972,6 +972,14 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.Model": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"openai.Assistant": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1682,6 +1690,12 @@ const docTemplate = `{
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"loaded_models": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/model.Model"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -965,6 +965,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.Model": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"openai.Assistant": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1675,6 +1683,12 @@
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"loaded_models": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/model.Model"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -168,6 +168,11 @@ definitions:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
model.Model:
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
type: object
|
||||
openai.Assistant:
|
||||
properties:
|
||||
created:
|
||||
@ -652,6 +657,10 @@ definitions:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
loaded_models:
|
||||
items:
|
||||
$ref: '#/definitions/model.Model'
|
||||
type: array
|
||||
type: object
|
||||
schema.TTSRequest:
|
||||
description: TTS request body
|
||||
|
Loading…
x
Reference in New Issue
Block a user