haiku.rag/tests
Yiorgis Gozadinos 5653e876a8
Return search results as agent text, images and structured content
search_documents and search_documents_by_image return a ToolResult: the
format_for_agent rendering with rank, Document ID and Collection so the
text alone drives the document tools; one ImageContent per distinct
picture, labelled with its result; and the SearchResult list without
image_data as structured content. format_for_agent gains an opt-in
include_document_id, so the capabilities' rendering is unchanged.
collect_pictures is the one place pictures are deduplicated and
validated for both wire formats.

Refs #599
2026-09-04 13:00:15 +03:00
..
capabilities Remove the environment overrides and the last unnamed-database wording 2026-09-03 15:12:09 +03:00
cassettes Render collection identity only for multi-collection searches 2026-08-27 12:41:05 +03:00
chat Remove the environment overrides and the last unnamed-database wording 2026-09-03 15:12:09 +03:00
data
docker
ingester Name the remedy for a missing configured database and list the databases an unknown name could have meant 2026-09-03 15:26:42 +03:00
multi_db Name the remedy for a missing configured database and list the databases an unknown name could have meant 2026-09-03 15:26:42 +03:00
sandbox One reference and one placement for a database 2026-09-03 15:12:08 +03:00
sources
store One reference and one placement for a database 2026-09-03 15:12:08 +03:00
tools Deduplicate search results within one model response 2026-09-02 12:29:12 +03:00
__init__.py
conftest.py Stop tests from sending telemetry to logfire 2026-09-04 12:36:36 +03:00
json_body_serializer.py
services.py
test_app.py Remove the MCP write tools; the server opens read-only 2026-09-04 12:59:48 +03:00
test_ask_images.py
test_cascade_delete.py Resolve the databases a command works on, once 2026-08-25 15:48:47 +03:00
test_chunk.py Return search results as agent text, images and structured content 2026-09-04 13:00:15 +03:00
test_chunker.py
test_cli.py Cover the configured database set from the MCP server 2026-09-04 13:00:14 +03:00
test_client.py Build the chunks FTS index on the first write instead of at table creation 2026-08-31 18:42:31 +03:00
test_client_analyze.py
test_config.py Report a stemless --db path as a usage error and separate the two lancedb.uri migrations 2026-09-03 15:12:09 +03:00
test_context.py Type writing against one database 2026-08-25 10:09:23 +03:00
test_context_enhancement.py Type writing against one database 2026-08-25 10:09:23 +03:00
test_converters.py Anchor the doclaynet fixture path on the test file 2026-09-04 12:36:36 +03:00
test_database_autocreate.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00
test_database_scope.py Name the remedy for a missing configured database and list the databases an unknown name could have meant 2026-09-03 15:26:42 +03:00
test_docling_serve_client.py
test_doctor.py Default to ollama:qwen3.8 2026-09-04 12:36:36 +03:00
test_document.py Use astimezone, add timezone tests, linting 2026-09-03 17:48:09 +03:00
test_download_models.py Default to ollama:qwen3.8 2026-09-04 12:36:36 +03:00
test_duplicate_ingestion.py
test_embedder.py
test_embedder_config.py
test_enrichment_batching.py
test_filter.py Update lancedb to 0.37.1 2026-08-31 18:54:48 +03:00
test_info.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00
test_inspector.py Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
test_lancedb_connection.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00
test_logging.py
test_mcp.py Return search results as agent text, images and structured content 2026-09-04 13:00:15 +03:00
test_pdf_attachments.py Type writing against one database 2026-08-25 10:09:23 +03:00
test_pdf_concurrency.py
test_pdf_split.py
test_picture_description.py
test_picture_in_context.py Default to ollama:qwen3.8 2026-09-04 12:36:36 +03:00
test_processing.py
test_reader.py
test_rebuild.py Repair an FTS index that covers no rows on write 2026-08-31 18:54:48 +03:00
test_reranker.py Accept a /v1 suffix on the vLLM reranker base_url 2026-08-28 15:46:42 +03:00
test_s3_integration.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00
test_s3_source.py
test_search.py Build one reranker for the databases searched together 2026-08-27 17:07:41 +03:00
test_search_phases.py
test_settings.py
test_telemetry.py
test_title_generation.py Type writing against one database 2026-08-25 10:09:23 +03:00
test_uri.py
test_utils.py Cover the configured database set from the MCP server 2026-09-04 13:00:14 +03:00
test_vacuum_debounce.py Type writing against one database 2026-08-25 10:09:23 +03:00
test_versioning.py Ask the session which database an operation works on 2026-08-25 09:28:20 +03:00