SurfSense/surfsense_backend/tests/unit/middleware
DESKTOP-RTLN3BA\$punk a34f1fb25c
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
feat: implement agent caches and fix invalid prompt cache configs
- Added a new function `_warm_agent_jit_caches` to pre-warm agent caches at startup, reducing cold invocation costs.
- Updated the `SurfSenseContextSchema` to include per-invocation fields for better state management during agent execution.
- Introduced caching mechanisms in various tools to ensure fresh database sessions are used, improving performance and reliability.
- Enhanced middleware to support new context features and improve error handling during connector and document type discovery.
2026-05-03 06:03:40 -07:00
..
__init__.py feat: add unit tests for DedupHITLToolCallsMiddleware 2026-03-21 13:19:58 +05:30
test_dedup_hitl_tool_calls.py feat: updated agent harness 2026-04-28 09:22:19 -07:00
test_file_intent_middleware.py chore: linting 2026-04-27 14:04:50 -07:00
test_filesystem_backends.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
test_filesystem_middleware.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_filesystem_verification.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
test_kb_persistence_filesystem_parity.py chore: linting 2026-04-28 21:37:51 -07:00
test_kb_persistence_revisions.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_knowledge_search.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
test_knowledge_tree.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_local_folder_backend.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_multi_root_local_folder_backend.py feat(sidebar): implement canonicalize roots, authoritative mount handling & preserved incremental UX for local folder mode 2026-04-27 19:58:12 +05:30