Skip to content

Commit e3fce54

Browse files
committed
fix response block initial seeding
1 parent db654d8 commit e3fce54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/stores/workflows/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export function prepareBlockState(options: PrepareBlockStateOptions): BlockState
137137
}
138138
} else if (subBlock.defaultValue !== undefined) {
139139
initialValue = subBlock.defaultValue
140-
} else if (subBlock.type === 'input-format') {
140+
} else if (subBlock.type === 'input-format' || subBlock.type === 'response-format') {
141141
initialValue = [
142142
{
143143
id: crypto.randomUUID(),

0 commit comments

Comments
 (0)