From c69c9327da4a43a63928807fcf36b24755cfac18 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Fri, 30 May 2025 15:34:22 -0500 Subject: wip: refactoring tui --- pkg/client/gen/openapi.json | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'pkg/client/gen') 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" -- cgit v1.2.3