From 98b3b2b1abe87c8d1e843d576733e1185fbb4493 Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Thu, 27 Jun 2024 01:12:53 +0200 Subject: [PATCH] feat(swagger): update swagger (#2666) 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 | 3 +++ swagger/swagger.json | 3 +++ swagger/swagger.yaml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/swagger/docs.go b/swagger/docs.go index 4660c4f8..b894258a 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -701,6 +701,9 @@ const docTemplate = `{ "prompt": { "description": "Prompt is read only by completion/image API calls" }, + "repeat_last_n": { + "type": "integer" + }, "repeat_penalty": { "type": "number" }, diff --git a/swagger/swagger.json b/swagger/swagger.json index 10a9120a..5e919ef8 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -694,6 +694,9 @@ "prompt": { "description": "Prompt is read only by completion/image API calls" }, + "repeat_last_n": { + "type": "integer" + }, "repeat_penalty": { "type": "number" }, diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 7fb7ee48..18a51a04 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -292,6 +292,8 @@ definitions: type: number prompt: description: Prompt is read only by completion/image API calls + repeat_last_n: + type: integer repeat_penalty: type: number response_format: