diff options
| author | Dax Raad <[email protected]> | 2025-05-28 15:07:51 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-28 15:07:51 -0400 |
| commit | ff786d9139280b36f0214cb71afa18affb676095 (patch) | |
| tree | a88ecdd618f8a8317656621e83b8ddf8492ecd22 /pkg/client/gen/openapi.json | |
| parent | 4767276a0e35deb0fd9cf44bbd7cb1157c5991f7 (diff) | |
| download | opencode-ff786d9139280b36f0214cb71afa18affb676095.tar.gz opencode-ff786d9139280b36f0214cb71afa18affb676095.zip | |
abort
Diffstat (limited to 'pkg/client/gen/openapi.json')
| -rw-r--r-- | pkg/client/gen/openapi.json | 54 |
1 files changed, 52 insertions, 2 deletions
diff --git a/pkg/client/gen/openapi.json b/pkg/client/gen/openapi.json index 2ded81222..3c847affc 100644 --- a/pkg/client/gen/openapi.json +++ b/pkg/client/gen/openapi.json @@ -161,11 +161,59 @@ "description": "List all sessions" } }, + "/session_abort": { + "post": { + "responses": { + "200": { + "description": "Aborted session", + "content": { + "application/json": { + "schema": { + "type": "boolean" + } + } + } + } + }, + "operationId": "postSession_abort", + "parameters": [], + "description": "Abort a session", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sessionID": { + "type": "string" + } + }, + "required": [ + "sessionID" + ] + } + } + } + } + } + }, "/session_chat": { "post": { - "responses": {}, + "responses": { + "200": { + "description": "Chat with a model", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session.Message" + } + } + } + } + }, "operationId": "postSession_chat", "parameters": [], + "description": "Chat with a model", "requestBody": { "content": { "application/json": { @@ -628,12 +676,14 @@ }, "attachment": { "type": "boolean" + }, + "reasoning": { + "type": "boolean" } }, "required": [ "cost", "contextWindow", - "maxTokens", "attachment" ] } |
