wip: refactoring tui

This commit is contained in:
adamdottv
2025-05-30 15:34:22 -05:00
parent f5e2c596d4
commit c69c9327da
13 changed files with 244 additions and 263 deletions

View File

@@ -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"