From aedd0c08103c042e630d38af6abc1cade1454f65 Mon Sep 17 00:00:00 2001 From: mudler <2420543+mudler@users.noreply.github.com> Date: Thu, 19 Sep 2024 20:02:54 +0000 Subject: [PATCH] feat(swagger): update swagger Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@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'