diff --git a/blocks/blocks/function.ts b/blocks/blocks/function.ts index 835a5ab8c4..00b31d0bbf 100644 --- a/blocks/blocks/function.ts +++ b/blocks/blocks/function.ts @@ -22,7 +22,7 @@ export const FunctionBlock: BlockConfig = { access: ['webcontainer_execute'], }, inputs: { - code: { type: 'string', required: true }, + code: { type: 'string', required: false }, timeout: { type: 'number', required: false }, }, outputs: {