refactor: drop legacy compatibility fallbacks and strictly structure config under 1h-tools

This commit is contained in:
openclaw committed 2026-10-19 03:47:47 +00:00
1 parent 69877803ca
commit ffe71f24b4
6 files changed
+10 -137

No files matched your search

-40
View File
@@ -67,11 +67,6 @@
"configContracts": {
"secretInputs": {
"paths": [
{
"path": "apiKey",
"expected": "string",
"ownerKind": "capability"
},
{
"path": "video.apiKey",
"expected": "string",
@@ -86,10 +81,6 @@
}
},
"uiHints": {
"apiKey": {
"label": "API Key",
"sensitive": true
},
"video.apiKey": {
"label": "Video API Key",
"sensitive": true
@@ -103,37 +94,6 @@
"type": "object",
"additionalProperties": false,
"properties": {
"baseUrl": {
"type": "string",
"title": "API Base URL",
"description": "Base URL of the OpenAI-compatible endpoint"
},
"apiKey": {
"type": [
"string",
"object"
],
"title": "API Key",
"description": "API Key or SecretRef"
},
"allowPrivateNetwork": {
"type": "boolean",
"title": "Allow Private Network",
"description": "Allow requests to private/internal network endpoints (e.g. host.incus.internal, 127.0.0.1)",
"default": true
},
"defaultModel": {
"type": "string",
"title": "Default Model",
"description": "Default model ID"
},
"models": {
"type": "array",
"title": "Available Models",
"items": {
"type": "string"
}
},
"video": {
"type": "object",
"title": "Video Generation Settings",