SurfSense/surfsense_backend/tests/integration
CREDO23 2db4ad479e refactor(agents): colocate KB-search tool with its sole consumer; fix report ImportError
shared/tools/knowledge_base.py had exactly one production consumer: the
report deliverable, which imported it via `from .knowledge_base import ...`
-- a sibling path that did not exist, so the report KB-search path would
raise ImportError at runtime.

Move the module next to report.py (subagents/builtins/deliverables/tools/)
which makes that relative import valid, and move its only dependency
(shared/utils.py date helpers) to multi_agent_chat/shared/date_filters.py,
shared between the KB tool and the knowledge_search middleware.

Drop the now-unused knowledge-base re-exports from the shared/tools barrel
and repoint the integration tests. import-all + error-contract stay green.
2026-06-05 10:28:56 +02:00
..
agents/multi_agent_chat refactor(agents): colocate middleware into vertical slices 2026-06-04 18:13:47 +02:00
chat feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
composio fix(tests): improve composio module hijack in integration tests 2026-05-13 00:44:20 +05:30
document_upload test: update Stripe and Google Calendar integration tests to use ComposioService 2026-05-16 21:13:17 +05:30
google_unification refactor(agents): colocate KB-search tool with its sole consumer; fix report ImportError 2026-06-05 10:28:56 +02:00
harness feat: updated agent harness 2026-04-28 09:22:19 -07:00
indexing_pipeline test: refactor Gmail indexer tests to utilize ComposioService and hybrid chunking 2026-05-16 21:26:40 +05:30
notifications test: add notifications integration behavior guard 2026-06-03 21:53:06 +02:00
retriever refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
__init__.py test: bootstrap pytest environment for backend 2026-02-24 18:19:56 +02:00
conftest.py test: refactor Gmail indexer tests to utilize ComposioService and hybrid chunking 2026-05-16 21:26:40 +05:30
test_document_versioning.py chore: ran linting 2026-04-03 13:14:40 +05:30
test_obsidian_plugin_routes.py chore: linting 2026-04-27 14:04:50 -07:00