mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
feat(container): support for apple container
This commit is contained in:
@@ -1038,6 +1038,12 @@ const docTemplate = `{
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ListSnapshotsResponse"
|
||||
}
|
||||
},
|
||||
"501": {
|
||||
"description": "Snapshots currently not supported on this backend",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1082,6 +1088,12 @@ const docTemplate = `{
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"501": {
|
||||
"description": "Snapshots currently not supported on this backend",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4738,6 +4750,22 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/ping": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "Health check with server capabilities",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.PingResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/providers": {
|
||||
"get": {
|
||||
"description": "Get a list of all configured LLM providers",
|
||||
@@ -7087,6 +7115,20 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"handlers.PingResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"container_backend": {
|
||||
"type": "string"
|
||||
},
|
||||
"snapshot_supported": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"handlers.SkillItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -1029,6 +1029,12 @@
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ListSnapshotsResponse"
|
||||
}
|
||||
},
|
||||
"501": {
|
||||
"description": "Snapshots currently not supported on this backend",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1073,6 +1079,12 @@
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"501": {
|
||||
"description": "Snapshots currently not supported on this backend",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4729,6 +4741,22 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/ping": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"system"
|
||||
],
|
||||
"summary": "Health check with server capabilities",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.PingResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/providers": {
|
||||
"get": {
|
||||
"description": "Get a list of all configured LLM providers",
|
||||
@@ -7078,6 +7106,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"handlers.PingResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"container_backend": {
|
||||
"type": "string"
|
||||
},
|
||||
"snapshot_supported": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"handlers.SkillItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -816,6 +816,15 @@ definitions:
|
||||
url:
|
||||
type: string
|
||||
type: object
|
||||
handlers.PingResponse:
|
||||
properties:
|
||||
container_backend:
|
||||
type: string
|
||||
snapshot_supported:
|
||||
type: boolean
|
||||
status:
|
||||
type: string
|
||||
type: object
|
||||
handlers.SkillItem:
|
||||
properties:
|
||||
content:
|
||||
@@ -2426,6 +2435,10 @@ paths:
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/handlers.ListSnapshotsResponse'
|
||||
"501":
|
||||
description: Snapshots currently not supported on this backend
|
||||
schema:
|
||||
$ref: '#/definitions/handlers.ErrorResponse'
|
||||
summary: List snapshots
|
||||
tags:
|
||||
- containerd
|
||||
@@ -2455,6 +2468,10 @@ paths:
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/handlers.ErrorResponse'
|
||||
"501":
|
||||
description: Snapshots currently not supported on this backend
|
||||
schema:
|
||||
$ref: '#/definitions/handlers.ErrorResponse'
|
||||
summary: Create container snapshot for bot
|
||||
tags:
|
||||
- containerd
|
||||
@@ -4896,6 +4913,16 @@ paths:
|
||||
summary: Update model by model ID
|
||||
tags:
|
||||
- models
|
||||
/ping:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/handlers.PingResponse'
|
||||
summary: Health check with server capabilities
|
||||
tags:
|
||||
- system
|
||||
/providers:
|
||||
get:
|
||||
consumes:
|
||||
|
||||
Reference in New Issue
Block a user