mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix: turned off required input for function for ui
This commit is contained in:
@@ -22,7 +22,7 @@ export const FunctionBlock: BlockConfig<CodeExecutionOutput> = {
|
||||
access: ['webcontainer_execute'],
|
||||
},
|
||||
inputs: {
|
||||
code: { type: 'string', required: true },
|
||||
code: { type: 'string', required: false },
|
||||
timeout: { type: 'number', required: false },
|
||||
},
|
||||
outputs: {
|
||||
|
||||
Reference in New Issue
Block a user