Rename library actions and always store promptRaw on ingest.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -452,6 +452,8 @@ async function run(r: any, job: Job) {
|
||||
r.progress = null;
|
||||
r.request.promptSections = prompts[r.index];
|
||||
r.request.compiledPrompt = compilePrompt(prompts[r.index], ['video', 'extend'].includes(r.request.mode), r.request);
|
||||
// Typed brief before PE / TextEncode — Copy raw / Load input raw need this even when Enhance is off.
|
||||
r.request.promptRaw = String(r.request.compiledPrompt || '');
|
||||
update(r, 'waking');
|
||||
await ensureComfyReady(message => emitJob(job, { type: 'status', message }));
|
||||
if (job.status === 'cancelled')
|
||||
|
||||
Reference in New Issue
Block a user