Restore pre-text and post-text with Use as input and Details.
Library items already stored those fields, but Details showed one blob and Use as input left the form's empty pre/post in place. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1312,7 +1312,10 @@ export async function keepStillAsInput(owner: string, id: string) {
|
||||
height: still.height,
|
||||
hideInput: still.hideInput,
|
||||
role: 'input',
|
||||
name
|
||||
name,
|
||||
prompt: still.prompt,
|
||||
promptPre: still.promptPre,
|
||||
promptPost: still.promptPost
|
||||
})
|
||||
if (!saved) throw createError({ statusCode: 400, statusMessage: 'Could not save that still as input' })
|
||||
return saved
|
||||
|
||||
Reference in New Issue
Block a user