Skip to content

Commit 6b99a50

Browse files
committed
fix(hex): type the block projectVersion output as any and mark category descriptions optional
1 parent 68f4c69 commit 6b99a50

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎apps/sim/blocks/blocks/hex.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ Do not include any explanations, markdown formatting, or other text outside the
829829
runUrl: { type: 'string', description: 'URL to view the run' },
830830
runStatusUrl: { type: 'string', description: 'URL to check run status' },
831831
projectVersion: {
832-
type: 'number',
832+
type: 'any',
833833
description:
834834
'Project version: a number from Run Project; Get Run Status returns it as a string ("draft" for notebook runs)',
835835
},

‎apps/sim/tools/generated/tool-outputs.ts‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎apps/sim/tools/hex/list_projects.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,11 @@ export const listProjectsTool: ToolConfig<HexListProjectsParams, HexListProjects
231231
type: 'object',
232232
properties: {
233233
name: { type: 'string', description: 'Category name' },
234-
description: { type: 'string', description: 'Category description' },
234+
description: {
235+
type: 'string',
236+
description: 'Category description',
237+
optional: true,
238+
},
235239
},
236240
},
237241
},

0 commit comments

Comments
 (0)