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 (
|
if (
|
||||||
seenSteps.has("raw_lines") ||
|
seenSteps.has("raw_lines") ||
|
||||||
seenSteps.has("txn_blocks") ||
|
seenSteps.has("txn_blocks")
|
||||||
seenSteps.has("llama_extract")
|
|
||||||
) {
|
) {
|
||||||
pct += 10;
|
pct += 10;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ export interface ResolveAmbiguityPayload {
|
|||||||
export type SSEEventStep =
|
export type SSEEventStep =
|
||||||
| "load_content" | "raw_lines" | "txn_blocks" | "txn_dicts"
|
| "load_content" | "raw_lines" | "txn_blocks" | "txn_dicts"
|
||||||
| "resume_extract" | "extract" | "paused" | "complete" | "enrich"
|
| "resume_extract" | "extract" | "paused" | "complete" | "enrich"
|
||||||
| "save_expenses" | "pipeline" | "llama_extract";
|
| "save_expenses" | "pipeline";
|
||||||
|
|
||||||
export type SSEEventStatus =
|
export type SSEEventStatus =
|
||||||
| "started" | "completed" | "skipped" | "paused" | "progress" | "failed";
|
| "started" | "completed" | "skipped" | "paused" | "progress" | "failed";
|
||||||
|
|||||||
Reference in New Issue
Block a user