haiku.rag/tests/cassettes/test_context_enhancement
Yiorgis Gozadinos 3603b00513
Fix base64 images leaking into expanded search results
PictureItem.export_to_markdown() defaults to ImageRefMode.EMBEDDED,
which embeds base64 image data. When _extract_item_text() called this
method during context expansion, base64 data would leak into results.

Now explicitly handles PictureItem with ImageRefMode.PLACEHOLDER to
prevent base64 while still including VLM descriptions and captions.
2026-01-08 18:42:58 +02:00
..
test_code_expansion_includes_adjacent_blocks.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_expand_context_docling_merges_metadata.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_expand_context_keeps_separate_non_overlapping.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_expand_context_merges_overlapping_chunks.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_expand_context_multiple_documents.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_expand_context_no_base64_images.yaml Fix base64 images leaking into expanded search results 2026-01-08 18:42:58 +02:00
test_expand_context_no_base64_images_docling_local.yaml Fix base64 images leaking into expanded search results 2026-01-08 18:42:58 +02:00
test_expand_context_no_base64_images_docling_serve.yaml Fix base64 images leaking into expanded search results 2026-01-08 18:42:58 +02:00
test_expand_context_radius_zero.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_expand_context_with_docling_merges_overlapping.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_expansion_preserves_metadata.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_format_for_agent_output.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_list_expansion_includes_split_items.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_max_items_limit_caps_expansion.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_table_expansion_includes_split_rows.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_text_expansion_uses_radius.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00