From 8f4081bb75b696c81d4dce692a1d1b980eb2b968 Mon Sep 17 00:00:00 2001 From: Austin Date: Mon, 11 May 2026 16:26:25 -0700 Subject: [PATCH] Remove special case for curve widgets This will never be used now that interpolation information is included and should have been applied as a `serializeValue` function --- src/utils/executionUtil.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 } }