feat(swagger): update swagger (#9962)

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]
2026-05-23 23:52:10 +02:00
committed by GitHub
parent 63d84a5705
commit d7387c725c
3 changed files with 109 additions and 0 deletions

View File

@@ -3236,6 +3236,38 @@ const docTemplate = `{
}
}
},
"galleryop.NodeProgress": {
"type": "object",
"properties": {
"current": {
"type": "string"
},
"error": {
"type": "string"
},
"file_name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"node_name": {
"type": "string"
},
"percentage": {
"type": "number"
},
"phase": {
"type": "string"
},
"status": {
"type": "string"
},
"total": {
"type": "string"
}
}
},
"galleryop.OpStatus": {
"type": "object",
"properties": {
@@ -3267,6 +3299,13 @@ const docTemplate = `{
"message": {
"type": "string"
},
"nodes": {
"description": "Nodes is the per-node breakdown for a fanned-out backend install.\nPopulated by DistributedBackendManager (per-node terminal status)\nand by the Phase 2 progress bridge (per-byte ticks). The\n/api/operations handler surfaces this so the UI can render an\nexpandable per-node view of an in-flight install.",
"type": "array",
"items": {
"$ref": "#/definitions/galleryop.NodeProgress"
}
},
"processed": {
"type": "boolean"
},

View File

@@ -3233,6 +3233,38 @@
}
}
},
"galleryop.NodeProgress": {
"type": "object",
"properties": {
"current": {
"type": "string"
},
"error": {
"type": "string"
},
"file_name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"node_name": {
"type": "string"
},
"percentage": {
"type": "number"
},
"phase": {
"type": "string"
},
"status": {
"type": "string"
},
"total": {
"type": "string"
}
}
},
"galleryop.OpStatus": {
"type": "object",
"properties": {
@@ -3264,6 +3296,13 @@
"message": {
"type": "string"
},
"nodes": {
"description": "Nodes is the per-node breakdown for a fanned-out backend install.\nPopulated by DistributedBackendManager (per-node terminal status)\nand by the Phase 2 progress bridge (per-byte ticks). The\n/api/operations handler surfaces this so the UI can render an\nexpandable per-node view of an in-flight install.",
"type": "array",
"items": {
"$ref": "#/definitions/galleryop.NodeProgress"
}
},
"processed": {
"type": "boolean"
},

View File

@@ -210,6 +210,27 @@ definitions:
$ref: '#/definitions/gallery.NodeDriftInfo'
type: array
type: object
galleryop.NodeProgress:
properties:
current:
type: string
error:
type: string
file_name:
type: string
node_id:
type: string
node_name:
type: string
percentage:
type: number
phase:
type: string
status:
type: string
total:
type: string
type: object
galleryop.OpStatus:
properties:
cancellable:
@@ -232,6 +253,16 @@ definitions:
type: string
message:
type: string
nodes:
description: |-
Nodes is the per-node breakdown for a fanned-out backend install.
Populated by DistributedBackendManager (per-node terminal status)
and by the Phase 2 progress bridge (per-byte ticks). The
/api/operations handler surfaces this so the UI can render an
expandable per-node view of an in-flight install.
items:
$ref: '#/definitions/galleryop.NodeProgress'
type: array
processed:
type: boolean
progress: