diff options
| author | adamdottv <[email protected]> | 2025-05-30 15:34:22 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-30 15:34:25 -0500 |
| commit | c69c9327da4a43a63928807fcf36b24755cfac18 (patch) | |
| tree | df79a6c58976af977a28717619d70db4a62f4853 /pkg/client/gen | |
| parent | f5e2c596d4f887daa4df579975dd5451fadc8457 (diff) | |
| download | opencode-c69c9327da4a43a63928807fcf36b24755cfac18.tar.gz opencode-c69c9327da4a43a63928807fcf36b24755cfac18.zip | |
wip: refactoring tui
Diffstat (limited to 'pkg/client/gen')
| -rw-r--r-- | pkg/client/gen/openapi.json | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/pkg/client/gen/openapi.json b/pkg/client/gen/openapi.json index 43e33b97d..c5f1c64b3 100644 --- a/pkg/client/gen/openapi.json +++ b/pkg/client/gen/openapi.json @@ -280,8 +280,8 @@ "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": { + "type": "array", + "items": { "$ref": "#/components/schemas/Provider.Info" } } @@ -818,24 +818,35 @@ "Provider.Info": { "type": "object", "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, "options": { "type": "object", "additionalProperties": {} }, "models": { - "type": "object", - "additionalProperties": { + "type": "array", + "items": { "$ref": "#/components/schemas/Provider.Model" } } }, "required": [ + "id", + "name", "models" ] }, "Provider.Model": { "type": "object", "properties": { + "id": { + "type": "string" + }, "name": { "type": "string" }, @@ -876,6 +887,7 @@ } }, "required": [ + "id", "cost", "contextWindow", "attachment" |
