feat(fetch-requests): support llama_parse pipeline

- Fix PipelineType union: "llama_parser" → "llama_parse" (matches backend enum)
- Add "llama_extract" to SSEEventStep union
- PipelineStepper: advance Extract stage on llama_extract events

Dropdown/badge rendering is OpenAPI-spec-driven and picks the new value up
automatically; no other changes required.
This commit is contained in:
2026-08-23 01:39:56 +05:30
parent 2add23efe7
commit 22e6603924
2 changed files with 9 additions and 3 deletions

View File

@@ -29,7 +29,13 @@ function computeProgressPercent(
let pct = 0;
if (seenSteps.has("raw_lines") || seenSteps.has("txn_blocks")) pct += 10;
if (
seenSteps.has("raw_lines") ||
seenSteps.has("txn_blocks") ||
seenSteps.has("llama_extract")
) {
pct += 10;
}
if (txnBlockCount > 0) {
const current = Math.max(liveCount, stepStats.txn_dicts ?? 0);