Files
Saurav Panda 658d1ca623 fix(extraction): auto-fallback from JS to markdown when extract_with_script returns empty
When JS codegen extraction returns empty results ([], {}, {key: []}),
automatically fall back to markdown-based LLM extraction instead of
returning empty data that causes the agent to retry blindly.

Adds _is_empty_data() helper to detect effectively empty extraction
results including nested patterns like {"products": []}.

Addresses ~5 eval failures where extract_with_script returned [] on
pages with lazy-loaded or shadow DOM content that JS couldn't reach.
2026-01-31 19:06:06 -08:00
..
2026-01-30 11:04:00 -08:00
2025-10-25 18:00:18 -07:00
2026-01-31 12:48:34 -08:00
2025-12-12 14:37:24 -08:00
2026-01-31 12:48:34 -08:00
2025-11-22 00:16:09 -08:00