update docs
This commit is contained in:
parent
2a36c85558
commit
9db21757ef
1 changed files with 20 additions and 1 deletions
|
@ -641,7 +641,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"genkey": {
|
"genkey": {
|
||||||
"type": "string",
|
"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"
|
"type": "object"
|
||||||
|
@ -721,6 +721,25 @@
|
||||||
"/extra/abort": {
|
"/extra/abort": {
|
||||||
"post": {
|
"post": {
|
||||||
"description": "Aborts the currently ongoing text generation. Does not work when multiple requests are in queue.",
|
"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": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"content": {
|
"content": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue