Fix: add min/max validation to API key field

This commit is contained in:
2026-03-19 09:14:32 +00:00
parent 7fd226d229
commit cd07a5b8c8

View File

@@ -5,14 +5,20 @@
"short_desc": "SAP S/4HANA migration planning and tracking dashboard with AI assistance", "short_desc": "SAP S/4HANA migration planning and tracking dashboard with AI assistance",
"author": "alexz", "author": "alexz",
"port": 8001, "port": 8001,
"categories": ["utilities", "development"], "categories": [
"utilities",
"development"
],
"tipi_version": 1, "tipi_version": 1,
"version": "1.0.0", "version": "1.0.0",
"source": "https://gits.alexzaw.dev/alexz/ERP-Integration", "source": "https://gits.alexzaw.dev/alexz/ERP-Integration",
"website": "https://gits.alexzaw.dev/alexz/ERP-Integration", "website": "https://gits.alexzaw.dev/alexz/ERP-Integration",
"exposable": true, "exposable": true,
"dynamic_config": true, "dynamic_config": true,
"supported_architectures": ["arm64", "amd64"], "supported_architectures": [
"arm64",
"amd64"
],
"min_tipi_version": "4.0.0", "min_tipi_version": "4.0.0",
"created_at": 1742342400000, "created_at": 1742342400000,
"updated_at": 1742342400000, "updated_at": 1742342400000,
@@ -22,7 +28,9 @@
"label": "Anthropic API Key", "label": "Anthropic API Key",
"hint": "Your Anthropic API key for AI chat features", "hint": "Your Anthropic API key for AI chat features",
"required": true, "required": true,
"env_variable": "ANTHROPIC_API_KEY" "env_variable": "ANTHROPIC_API_KEY",
"min": 10,
"max": 200
}, },
{ {
"type": "text", "type": "text",