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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user