From dc303aa96c6e103160126c931d9684ddf9d3202f Mon Sep 17 00:00:00 2001 From: "mudler's LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Mon, 24 Aug 2026 09:44:51 +0200 Subject: [PATCH] feat(swagger): update swagger (#11682) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --- swagger/docs.go | 21 +++++++++++++++++++++ swagger/swagger.json | 21 +++++++++++++++++++++ swagger/swagger.yaml | 14 ++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/swagger/docs.go b/swagger/docs.go index b399f73e8..16fa1de85 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -4580,6 +4580,9 @@ const docTemplate = `{ "type": "object", "properties": { "config": {}, + "config_revision": { + "type": "string" + }, "details": { "type": "array", "items": { @@ -4595,6 +4598,9 @@ const docTemplate = `{ "message": { "type": "string" }, + "pending_cleanup": { + "type": "integer" + }, "success": { "type": "boolean" } @@ -4735,9 +4741,24 @@ const docTemplate = `{ "description": "e.g. \"llama-cpp\"; used by reconciler to replicate loads", "type": "string" }, + "cleanup_attempts": { + "type": "integer" + }, + "cleanup_error": { + "type": "string" + }, + "cleanup_next_retry_at": { + "type": "string" + }, + "config_revision": { + "type": "string" + }, "created_at": { "type": "string" }, + "effective_options_hash": { + "type": "string" + }, "id": { "type": "string" }, diff --git a/swagger/swagger.json b/swagger/swagger.json index b04ebca6d..2be8aea42 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -4577,6 +4577,9 @@ "type": "object", "properties": { "config": {}, + "config_revision": { + "type": "string" + }, "details": { "type": "array", "items": { @@ -4592,6 +4595,9 @@ "message": { "type": "string" }, + "pending_cleanup": { + "type": "integer" + }, "success": { "type": "boolean" } @@ -4732,9 +4738,24 @@ "description": "e.g. \"llama-cpp\"; used by reconciler to replicate loads", "type": "string" }, + "cleanup_attempts": { + "type": "integer" + }, + "cleanup_error": { + "type": "string" + }, + "cleanup_next_retry_at": { + "type": "string" + }, + "config_revision": { + "type": "string" + }, "created_at": { "type": "string" }, + "effective_options_hash": { + "type": "string" + }, "id": { "type": "string" }, diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index f0e40bbe0..58653861b 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -414,6 +414,8 @@ definitions: localai.ModelResponse: properties: config: {} + config_revision: + type: string details: items: type: string @@ -424,6 +426,8 @@ definitions: type: string message: type: string + pending_cleanup: + type: integer success: type: boolean type: object @@ -518,8 +522,18 @@ definitions: backend_type: description: e.g. "llama-cpp"; used by reconciler to replicate loads type: string + cleanup_attempts: + type: integer + cleanup_error: + type: string + cleanup_next_retry_at: + type: string + config_revision: + type: string created_at: type: string + effective_options_hash: + type: string id: type: string in_flight: