refactor(fetch-requests): drop dead llama_extract SSE step

llama_parse FRs now emit the standard raw_lines/txn_blocks/txn_dicts events,
so remove the special-cased step from SSEEventStep and stepper progress calc.
This commit is contained in:
2026-08-23 16:54:48 +05:30
parent c6622d43e0
commit c585b62779
2 changed files with 2 additions and 3 deletions

View File

@@ -31,8 +31,7 @@ function computeProgressPercent(
if (
seenSteps.has("raw_lines") ||
seenSteps.has("txn_blocks") ||
seenSteps.has("llama_extract")
seenSteps.has("txn_blocks")
) {
pct += 10;
}

View File

@@ -90,7 +90,7 @@ export interface ResolveAmbiguityPayload {
export type SSEEventStep =
| "load_content" | "raw_lines" | "txn_blocks" | "txn_dicts"
| "resume_extract" | "extract" | "paused" | "complete" | "enrich"
| "save_expenses" | "pipeline" | "llama_extract";
| "save_expenses" | "pipeline";
export type SSEEventStatus =
| "started" | "completed" | "skipped" | "paused" | "progress" | "failed";