From 5c9d26e39bdff8c3e836c686a83d1aba3c239893 Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Fri, 20 Sep 2024 10:49:32 +0200 Subject: [PATCH] feat(swagger): update swagger (#3604) 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 | 12 ++++++++++++ swagger/swagger.json | 12 ++++++++++++ swagger/swagger.yaml | 8 ++++++++ 3 files changed, 32 insertions(+) diff --git a/swagger/docs.go b/swagger/docs.go index 44da7cf2d9a..ffb2ba032ad 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -1394,6 +1394,12 @@ const docTemplate = `{ "description": "The message role", "type": "string" }, + "string_audios": { + "type": "array", + "items": { + "type": "string" + } + }, "string_content": { "type": "string" }, @@ -1403,6 +1409,12 @@ const docTemplate = `{ "type": "string" } }, + "string_videos": { + "type": "array", + "items": { + "type": "string" + } + }, "tool_calls": { "type": "array", "items": { diff --git a/swagger/swagger.json b/swagger/swagger.json index eaddf45134e..e3aebe43671 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -1387,6 +1387,12 @@ "description": "The message role", "type": "string" }, + "string_audios": { + "type": "array", + "items": { + "type": "string" + } + }, "string_content": { "type": "string" }, @@ -1396,6 +1402,12 @@ "type": "string" } }, + "string_videos": { + "type": "array", + "items": { + "type": "string" + } + }, "tool_calls": { "type": "array", "items": { diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index c98e0ef45c8..649b86e446c 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -453,12 +453,20 @@ definitions: role: description: The message role type: string + string_audios: + items: + type: string + type: array string_content: type: string string_images: items: type: string type: array + string_videos: + items: + type: string + type: array tool_calls: items: $ref: '#/definitions/schema.ToolCall'