|
|
@@ -8625,6 +8625,16 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "503": {
|
|
|
+ "description": "ServiceUnavailableError",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ServiceUnavailableError"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"description": "Retrieve available v2 models ordered by release date.",
|
|
|
@@ -8696,6 +8706,16 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "503": {
|
|
|
+ "description": "ServiceUnavailableError",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ServiceUnavailableError"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"description": "Retrieve active v2 AI providers so clients can show provider availability and configuration.",
|
|
|
@@ -8774,11 +8794,21 @@
|
|
|
}
|
|
|
},
|
|
|
"404": {
|
|
|
- "description": "NotFoundError",
|
|
|
+ "description": "ProviderNotFoundError",
|
|
|
"content": {
|
|
|
"application/json": {
|
|
|
"schema": {
|
|
|
- "$ref": "#/components/schemas/NotFoundError"
|
|
|
+ "$ref": "#/components/schemas/ProviderNotFoundError"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "503": {
|
|
|
+ "description": "ServiceUnavailableError",
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ServiceUnavailableError"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -15589,6 +15619,40 @@
|
|
|
"required": ["items", "cursor"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ "ServiceUnavailableError": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "_tag": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["ServiceUnavailableError"]
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "service": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["_tag", "message"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "ProviderNotFoundError": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "_tag": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["ProviderNotFoundError"]
|
|
|
+ },
|
|
|
+ "providerID": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["_tag", "providerID", "message"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"EventTuiPromptAppend": {
|
|
|
"type": "object",
|
|
|
"properties": {
|