Add is_enabled field to OpenAPI model

Introduce a new boolean property `is_enabled` (default: true) into the OpenAPI schema in autogpt_platform/frontend/src/app/api/openapi.json next to `price_tier` and `is_recommended`. This exposes an enable/disable flag in the API model for consumers and defaults new entries to enabled.
This commit is contained in:
Bentlybro
2026-03-26 10:33:36 +00:00
parent eb76b95aa5
commit fb9a3224be

View File

@@ -10346,6 +10346,11 @@
"title": "Max Output Tokens"
},
"price_tier": { "type": "integer", "title": "Price Tier" },
"is_enabled": {
"type": "boolean",
"title": "Is Enabled",
"default": true
},
"is_recommended": {
"type": "boolean",
"title": "Is Recommended",