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