From 9db21757ef6e779b05c46567006bc6145adf3983 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 6 Oct 2023 23:40:21 +0800 Subject: [PATCH] update docs --- kcpp_docs.embd | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/kcpp_docs.embd b/kcpp_docs.embd index 211867a34..eef3fa32a 100644 --- a/kcpp_docs.embd +++ b/kcpp_docs.embd @@ -641,7 +641,7 @@ "properties": { "genkey": { "type": "string", - "description": "A unique key used to poll for this generation while it is in progress." + "description": "A unique key used to identify this generation while it is in progress." } }, "type": "object" @@ -721,6 +721,25 @@ "/extra/abort": { "post": { "description": "Aborts the currently ongoing text generation. Does not work when multiple requests are in queue.", + "requestBody": { + "content": { + "application/json": { + "example": { + "genkey": "KCPP2342" + }, + "schema": { + "properties": { + "genkey": { + "type": "string", + "description": "A unique key used to identify this generation while it is in progress." + } + }, + "type": "object" + } + } + }, + "required": false + }, "responses": { "200": { "content": {