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
This commit is contained in:
Austin
2026-05-11 16:26:25 -07:00
parent 64c75bfce5
commit 8f4081bb75

View File

@@ -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
}
}