diff --git a/swagger/docs.go b/swagger/docs.go index ce84e7d6f..69c52457d 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -1613,6 +1613,10 @@ const docTemplate = `{ "alias": { "type": "string" }, + "backend": { + "description": "Backend is the resolved backend engine for this model (e.g. \"llama-cpp\").\nPopulated at load time from overrides, inline config, or the URL-referenced config file.", + "type": "string" + }, "capabilities": { "type": "object", "additionalProperties": { @@ -1683,6 +1687,10 @@ const docTemplate = `{ "gallery.GalleryModel": { "type": "object", "properties": { + "backend": { + "description": "Backend is the resolved backend engine for this model (e.g. \"llama-cpp\").\nPopulated at load time from overrides, inline config, or the URL-referenced config file.", + "type": "string" + }, "config_file": { "description": "config_file is read in the situation where URL is blank - and therefore this is a base config.", "type": "object", @@ -1756,6 +1764,10 @@ const docTemplate = `{ "localai.GalleryModel": { "type": "object", "properties": { + "backend": { + "description": "Backend is the resolved backend engine for this model (e.g. \"llama-cpp\").\nPopulated at load time from overrides, inline config, or the URL-referenced config file.", + "type": "string" + }, "config_file": { "description": "config_file is read in the situation where URL is blank - and therefore this is a base config.", "type": "object", diff --git a/swagger/swagger.json b/swagger/swagger.json index 7ae562848..ef294e82a 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -1606,6 +1606,10 @@ "alias": { "type": "string" }, + "backend": { + "description": "Backend is the resolved backend engine for this model (e.g. \"llama-cpp\").\nPopulated at load time from overrides, inline config, or the URL-referenced config file.", + "type": "string" + }, "capabilities": { "type": "object", "additionalProperties": { @@ -1676,6 +1680,10 @@ "gallery.GalleryModel": { "type": "object", "properties": { + "backend": { + "description": "Backend is the resolved backend engine for this model (e.g. \"llama-cpp\").\nPopulated at load time from overrides, inline config, or the URL-referenced config file.", + "type": "string" + }, "config_file": { "description": "config_file is read in the situation where URL is blank - and therefore this is a base config.", "type": "object", @@ -1749,6 +1757,10 @@ "localai.GalleryModel": { "type": "object", "properties": { + "backend": { + "description": "Backend is the resolved backend engine for this model (e.g. \"llama-cpp\").\nPopulated at load time from overrides, inline config, or the URL-referenced config file.", + "type": "string" + }, "config_file": { "description": "config_file is read in the situation where URL is blank - and therefore this is a base config.", "type": "object", diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 82dc8745c..5ddf9b9ef 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -61,6 +61,11 @@ definitions: properties: alias: type: string + backend: + description: |- + Backend is the resolved backend engine for this model (e.g. "llama-cpp"). + Populated at load time from overrides, inline config, or the URL-referenced config file. + type: string capabilities: additionalProperties: type: string @@ -109,6 +114,11 @@ definitions: type: object gallery.GalleryModel: properties: + backend: + description: |- + Backend is the resolved backend engine for this model (e.g. "llama-cpp"). + Populated at load time from overrides, inline config, or the URL-referenced config file. + type: string config_file: additionalProperties: true description: config_file is read in the situation where URL is blank - and @@ -162,6 +172,11 @@ definitions: type: object localai.GalleryModel: properties: + backend: + description: |- + Backend is the resolved backend engine for this model (e.g. "llama-cpp"). + Populated at load time from overrides, inline config, or the URL-referenced config file. + type: string config_file: additionalProperties: true description: config_file is read in the situation where URL is blank - and