Files
imeai-aKode/akode-rs/app-server-protocol/schema/json/v2/ModelProviderConfigWriteParams.json

60 lines
1.4 KiB
JSON
Generated

{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"ProviderSettingsPatch": {
"description": "Omitted patch fields preserve their values. Explicit null clears a nullable field.",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"baseUrl": {
"type": [
"string",
"null"
]
},
"envKey": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"providerId": {
"description": "Omit or pass null to allocate a new custom provider ID.",
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"customGateway"
],
"title": "CustomGatewayProviderSettingsPatchType",
"type": "string"
}
},
"required": [
"type"
],
"title": "CustomGatewayProviderSettingsPatch",
"type": "object"
}
]
}
},
"properties": {
"settings": {
"$ref": "#/definitions/ProviderSettingsPatch"
}
},
"required": [
"settings"
],
"title": "ModelProviderConfigWriteParams",
"type": "object"
}