mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user