feat(swagger): update swagger (#2436)

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:
LocalAI [bot] 2024-05-30 10:11:05 +02:00 committed by GitHub
parent b2fc92daa7
commit 0c40f545d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 35 deletions

View File

@ -476,14 +476,6 @@ const docTemplate = `{
"Function" "Function"
] ]
}, },
"schema.ChatCompletionResponseFormat": {
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
},
"schema.Choice": { "schema.Choice": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -677,12 +669,7 @@ const docTemplate = `{
"type": "number" "type": "number"
}, },
"response_format": { "response_format": {
"description": "whisper/image", "description": "whisper/image"
"allOf": [
{
"$ref": "#/definitions/schema.ChatCompletionResponseFormat"
}
]
}, },
"rope_freq_base": { "rope_freq_base": {
"type": "number" "type": "number"

View File

@ -469,14 +469,6 @@
"Function" "Function"
] ]
}, },
"schema.ChatCompletionResponseFormat": {
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
},
"schema.Choice": { "schema.Choice": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -670,12 +662,7 @@
"type": "number" "type": "number"
}, },
"response_format": { "response_format": {
"description": "whisper/image", "description": "whisper/image"
"allOf": [
{
"$ref": "#/definitions/schema.ChatCompletionResponseFormat"
}
]
}, },
"rope_freq_base": { "rope_freq_base": {
"type": "number" "type": "number"

View File

@ -163,11 +163,6 @@ definitions:
- CodeInterpreter - CodeInterpreter
- Retrieval - Retrieval
- Function - Function
schema.ChatCompletionResponseFormat:
properties:
type:
type: string
type: object
schema.Choice: schema.Choice:
properties: properties:
delta: delta:
@ -300,8 +295,6 @@ definitions:
repeat_penalty: repeat_penalty:
type: number type: number
response_format: response_format:
allOf:
- $ref: '#/definitions/schema.ChatCompletionResponseFormat'
description: whisper/image description: whisper/image
rope_freq_base: rope_freq_base:
type: number type: number