feat(swagger): update swagger (#5983)

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]
2025-08-07 00:32:11 +02:00
committed by GitHub
parent 89978c8b57
commit 224063f0f7
3 changed files with 24 additions and 0 deletions

View File

@@ -1535,6 +1535,12 @@ const docTemplate = `{
"$ref": "#/definitions/schema.Message"
}
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"mode": {
"description": "Image (not supported by OpenAI)",
"type": "integer"
@@ -1567,6 +1573,9 @@ const docTemplate = `{
"quality": {
"type": "string"
},
"reasoning_effort": {
"type": "string"
},
"ref_images": {
"description": "Reference images for models that support them (e.g., Flux Kontext)",
"type": "array",

View File

@@ -1528,6 +1528,12 @@
"$ref": "#/definitions/schema.Message"
}
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"mode": {
"description": "Image (not supported by OpenAI)",
"type": "integer"
@@ -1560,6 +1566,9 @@
"quality": {
"type": "string"
},
"reasoning_effort": {
"type": "string"
},
"ref_images": {
"description": "Reference images for models that support them (e.g., Flux Kontext)",
"type": "array",

View File

@@ -491,6 +491,10 @@ definitions:
items:
$ref: '#/definitions/schema.Message'
type: array
metadata:
additionalProperties:
type: string
type: object
mode:
description: Image (not supported by OpenAI)
type: integer
@@ -514,6 +518,8 @@ definitions:
description: Prompt is read only by completion/image API calls
quality:
type: string
reasoning_effort:
type: string
ref_images:
description: Reference images for models that support them (e.g., Flux Kontext)
items: