From eab93aba2bc3751a398b6de6a045a5942abb24be Mon Sep 17 00:00:00 2001 From: Bentlybro Date: Fri, 16 Jan 2026 10:13:33 +0000 Subject: [PATCH] Add options field to BlockIOStringSubSchema type Introduces an optional 'options' array to BlockIOStringSubSchema, allowing specification of selectable string values with labels and optional descriptions. --- autogpt_platform/frontend/src/lib/autogpt-server-api/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/autogpt_platform/frontend/src/lib/autogpt-server-api/types.ts b/autogpt_platform/frontend/src/lib/autogpt-server-api/types.ts index 8bc39a390a..4fa61eee43 100644 --- a/autogpt_platform/frontend/src/lib/autogpt-server-api/types.ts +++ b/autogpt_platform/frontend/src/lib/autogpt-server-api/types.ts @@ -186,6 +186,7 @@ export type BlockIOStringSubSchema = BlockIOSubSchemaMeta & { default?: string; format?: string; maxLength?: number; + options?: { value: string; label: string; description?: string }[]; }; export type BlockIONumberSubSchema = BlockIOSubSchemaMeta & {