feat(swagger): update swagger (#8923)

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-03-09 22:14:17 +01:00
committed by GitHub
parent 2c81852773
commit 6a633f2533
3 changed files with 58 additions and 3 deletions

View File

@@ -1656,6 +1656,10 @@ const docTemplate = `{
"name": {
"type": "string"
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"
},
"tags": {
"type": "array",
"items": {
@@ -1720,6 +1724,10 @@ const docTemplate = `{
"type": "object",
"additionalProperties": true
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"
},
"tags": {
"type": "array",
"items": {
@@ -1792,6 +1800,10 @@ const docTemplate = `{
"type": "object",
"additionalProperties": true
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"
},
"tags": {
"type": "array",
"items": {
@@ -3483,7 +3495,13 @@ const docTemplate = `{
"$ref": "#/definitions/schema.NodeData"
}
},
"nodes": {
"llama_cpp_nodes": {
"type": "array",
"items": {
"$ref": "#/definitions/schema.NodeData"
}
},
"mlx_nodes": {
"type": "array",
"items": {
"$ref": "#/definitions/schema.NodeData"

View File

@@ -1649,6 +1649,10 @@
"name": {
"type": "string"
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"
},
"tags": {
"type": "array",
"items": {
@@ -1713,6 +1717,10 @@
"type": "object",
"additionalProperties": true
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"
},
"tags": {
"type": "array",
"items": {
@@ -1785,6 +1793,10 @@
"type": "object",
"additionalProperties": true
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"
},
"tags": {
"type": "array",
"items": {
@@ -3476,7 +3488,13 @@
"$ref": "#/definitions/schema.NodeData"
}
},
"nodes": {
"llama_cpp_nodes": {
"type": "array",
"items": {
"$ref": "#/definitions/schema.NodeData"
}
},
"mlx_nodes": {
"type": "array",
"items": {
"$ref": "#/definitions/schema.NodeData"

View File

@@ -89,6 +89,11 @@ definitions:
type: array
name:
type: string
size:
description: |-
Size is an optional hardcoded model size string (e.g. "500MB", "14.5GB").
Used when the size cannot be estimated automatically.
type: string
tags:
items:
type: string
@@ -134,6 +139,11 @@ definitions:
description: Overrides are used to override the configuration of the model
located at URL
type: object
size:
description: |-
Size is an optional hardcoded model size string (e.g. "500MB", "14.5GB").
Used when the size cannot be estimated automatically.
type: string
tags:
items:
type: string
@@ -184,6 +194,11 @@ definitions:
description: Overrides are used to override the configuration of the model
located at URL
type: object
size:
description: |-
Size is an optional hardcoded model size string (e.g. "500MB", "14.5GB").
Used when the size cannot be estimated automatically.
type: string
tags:
items:
type: string
@@ -1333,7 +1348,11 @@ definitions:
items:
$ref: '#/definitions/schema.NodeData'
type: array
nodes:
llama_cpp_nodes:
items:
$ref: '#/definitions/schema.NodeData'
type: array
mlx_nodes:
items:
$ref: '#/definitions/schema.NodeData'
type: array