Fix video generate 500 from a leftover promptRaw log.

The pre/prompt/post split renamed the variable but one console.info still used the old name, which crashed POST /api/generate on xAIGen.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-01 20:18:25 -05:00
co-authored by Cursor
parent 7bcd23fcc5
commit e248eb26d8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ export default defineEventHandler(async (event) => {
stillId: still?.id || '',
postedStillId,
workflow,
promptChars: promptRaw.length,
promptChars: promptMid.length,
textToVideo
})
const referenceStillIds: Array<string | null> = [null, null, null, null]