feat: harden PDF translation workflow

This commit is contained in:
Your Name
2026-03-30 14:24:18 +02:00
parent 499ebe3ce8
commit 6e8cf6f83a
17 changed files with 1358 additions and 1931 deletions

View File

@@ -237,6 +237,10 @@ export interface TaskResult {
summary?: string;
translation?: string;
target_language?: string;
source_language?: string;
detected_source_language?: string;
provider?: string;
chunks_translated?: number;
pages_analyzed?: number;
// Table extraction fields
tables?: Array<{ page: number; table_index: number; headers: string[]; rows: string[][] }>;