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": {