diff --git a/src/utils/executionUtil.ts b/src/utils/executionUtil.ts index a57d60822f..e3f4ce9880 100644 --- a/src/utils/executionUtil.ts +++ b/src/utils/executionUtil.ts @@ -108,9 +108,7 @@ export const graphToPrompt = async ( // The backend automatically unwraps the object to an array during // execution. inputs[widget.name] = Array.isArray(widgetValue) - ? widget.type === 'curve' - ? { __type__: 'CURVE', __value__: widgetValue } - : { __value__: widgetValue } + ? { __value__: widgetValue } : widgetValue } }