🐛 (chat) Enable prefilledVariables in preview mode
Also make list values compatible
This commit is contained in:
@ -10,6 +10,8 @@ export const prefillVariables = (
|
||||
if (!prefilledVariable) return variable
|
||||
return {
|
||||
...variable,
|
||||
value: safeStringify(prefilledVariable),
|
||||
value: Array.isArray(prefilledVariable)
|
||||
? prefilledVariable.map(safeStringify)
|
||||
: safeStringify(prefilledVariable),
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user