diff options
| author | Dax Raad <[email protected]> | 2025-06-05 14:59:07 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-06-05 14:59:16 -0400 |
| commit | db2bb32bcf0c3fdc8ede5530946e85a852448679 (patch) | |
| tree | 31f81b89cd8ed7b642a09e25fcb0a2a4b1c0e6bb /packages/tui/pkg/client/gen/openapi.json | |
| parent | 1384a5e3e69522001571980f147a5aa0d985f895 (diff) | |
| download | opencode-db2bb32bcf0c3fdc8ede5530946e85a852448679.tar.gz opencode-db2bb32bcf0c3fdc8ede5530946e85a852448679.zip | |
integrate with models.dev
Diffstat (limited to 'packages/tui/pkg/client/gen/openapi.json')
| -rw-r--r-- | packages/tui/pkg/client/gen/openapi.json | 66 |
1 files changed, 43 insertions, 23 deletions
diff --git a/packages/tui/pkg/client/gen/openapi.json b/packages/tui/pkg/client/gen/openapi.json index a9f19d4b3..f329b48b3 100644 --- a/packages/tui/pkg/client/gen/openapi.json +++ b/packages/tui/pkg/client/gen/openapi.json @@ -401,10 +401,25 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Provider.Info" - } + "type": "object", + "properties": { + "providers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Provider.Info" + } + }, + "default": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "providers", + "default" + ] } } } @@ -1080,13 +1095,9 @@ "name": { "type": "string" }, - "options": { - "type": "object", - "additionalProperties": {} - }, "models": { - "type": "array", - "items": { + "type": "object", + "additionalProperties": { "$ref": "#/components/schemas/Provider.Model" } } @@ -1106,6 +1117,12 @@ "name": { "type": "string" }, + "attachment": { + "type": "boolean" + }, + "reasoning": { + "type": "boolean" + }, "cost": { "type": "object", "properties": { @@ -1129,24 +1146,27 @@ "outputCached" ] }, - "contextWindow": { - "type": "number" - }, - "maxOutputTokens": { - "type": "number" - }, - "attachment": { - "type": "boolean" - }, - "reasoning": { - "type": "boolean" + "limit": { + "type": "object", + "properties": { + "context": { + "type": "number" + }, + "output": { + "type": "number" + } + }, + "required": [ + "context", + "output" + ] } }, "required": [ "id", + "attachment", "cost", - "contextWindow", - "attachment" + "limit" ] } } |
