mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
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. |
||
|---|---|---|
| .. | ||
| agents/multi_agent_chat | ||
| chat | ||
| composio | ||
| document_upload | ||
| google_unification | ||
| harness | ||
| indexing_pipeline | ||
| notifications | ||
| retriever | ||
| __init__.py | ||
| conftest.py | ||
| test_document_versioning.py | ||
| test_obsidian_plugin_routes.py | ||