Pattern
- Store the document once.
- Create one job with a fast engine and a stronger engine.
waitForExecutionon the fast provider and render.waitForExecutionon the strong provider and replace or merge.- Release the stored artifacts when you are done.
Why this works
- One stored document. Both engines see the same bytes.
- Executions are independent. A slow or failed LlamaParse run does not erase a finished LiteParse result.
waitForExecutionreturns when that execution hitscompleteorfailed. Sibling work can keep running.previewandfullare caller-defined keys for this application; Unfold does not assign those roles.
Output rules
Hosted job creation validates outputs per provider. If any selected provider does not advertise an output, the job create fails withunsupported_provider_output.
For a shared job, stick to the intersection (usually
markdown or markdown + pages). Need tables only from LlamaParse? Prefer Cheap path, then escalate with a second job, or set per-provider outputs on each target.