SurfSense/surfsense_backend/tests/unit/middleware
CREDO23 265888d21c document-render: unify KB/web rendering on numbered [n] passages
Add a shared document_render package that renders sources as
<document view="excerpt|full"> blocks with server-assigned [n] passage
labels (KB locator {document_id, chunk_id}, web locator {url}). Wire the
KB read backend (kb_postgres) and read_file to the new renderer and drop
the legacy per-document XML renderer (document_xml, retrieved_context) and
the old chunk_index / matched="true" / <chunk id> read format.
2026-06-25 15:26:16 +02:00
..
__init__.py feat: add unit tests for DedupHITLToolCallsMiddleware 2026-03-21 13:19:58 +05:30
test_b_filesystem_path_resolution.py chore: linting 2026-06-09 00:42:26 -07:00
test_b_filesystem_rm_rmdir_cloud.py Revert "Merge pull request #1523 from CREDO23/fix/chat-citations" 2026-06-22 22:55:29 -07:00
test_b_filesystem_system_prompt.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
test_dedup_hitl_tool_calls.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
test_filesystem_backends.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
test_kb_persistence_filesystem_parity.py Revert "Merge pull request #1523 from CREDO23/fix/chat-citations" 2026-06-22 22:55:29 -07:00
test_kb_persistence_revisions.py chore: linting 2026-06-09 00:42:26 -07:00
test_kb_postgres_read.py document-render: unify KB/web rendering on numbered [n] passages 2026-06-25 15:26:16 +02:00
test_knowledge_search.py chore: linting 2026-06-09 00:42:26 -07:00
test_knowledge_tree.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
test_local_folder_backend.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
test_multi_root_local_folder_backend.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00