aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
131
akode-rs/app-server-protocol/schema/json/v2/ModelProviderConfigWriteResponse.json
generated
Normal file
131
akode-rs/app-server-protocol/schema/json/v2/ModelProviderConfigWriteResponse.json
generated
Normal file
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"GatewayAuth": {
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"mode": {
|
||||
"enum": [
|
||||
"none"
|
||||
],
|
||||
"title": "NoneGatewayAuthMode",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"mode"
|
||||
],
|
||||
"title": "NoneGatewayAuth",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"envKey": {
|
||||
"type": "string"
|
||||
},
|
||||
"mode": {
|
||||
"enum": [
|
||||
"environmentVariable"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"envKey",
|
||||
"mode"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"description": "Authentication is configured outside the gateway form. Preserve it on edits.",
|
||||
"properties": {
|
||||
"envKey": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"enum": [
|
||||
"externallyConfigured"
|
||||
],
|
||||
"title": "ModeGatewayAuthMode",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"mode"
|
||||
],
|
||||
"title": "ModeGatewayAuth",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ModelProviderSummary": {
|
||||
"properties": {
|
||||
"baseUrl": {
|
||||
"description": "Null when the endpoint is absent or cannot be safely displayed.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"canEdit": {
|
||||
"description": "Whether a supported configuration field can be edited in the active user layer.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"settings": {
|
||||
"$ref": "#/definitions/ProviderSettings"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"canEdit",
|
||||
"id",
|
||||
"name",
|
||||
"settings"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ProviderSettings": {
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"auth": {
|
||||
"$ref": "#/definitions/GatewayAuth"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"customGateway"
|
||||
],
|
||||
"title": "CustomGatewayProviderSettingsType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"auth",
|
||||
"type"
|
||||
],
|
||||
"title": "CustomGatewayProviderSettings",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"provider": {
|
||||
"$ref": "#/definitions/ModelProviderSummary"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
],
|
||||
"title": "ModelProviderConfigWriteResponse",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user