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:
Towsty
2026-09-02 14:51:35 -05:00
co-authored by Cursor
parent c20229da0e
commit c4e18eeb2c
6 changed files with 58 additions and 37 deletions
+4 -1
View File
@@ -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