SurfSense/surfsense_backend/tests/unit/agents/new_chat/tools
CREDO23 49da7a57df Merge remote-tracking branch 'upstream/dev' into improvement-agent-speed
Resolves: surfsense_backend/app/agents/new_chat/middleware/memory_injection.py
- Took both imports: upstream moved MEMORY_HARD_LIMIT/SOFT_LIMIT to
  app.services.memory; kept our perf-logger import for timing.

Pulls in upstream changes:
- Memory document feature (services/memory refactor, removal of
  app.agents.new_chat.memory_extraction and background extraction in
  stream_new_chat — agent now drives memory via update_memory tool).
- BACKEND_URL env refactor across web tool-ui/editor/chat/dashboard/lib.
- GitHub Actions backend test workflow + pre-commit biome bump.
- Token-display polish in MessageInfoDropdown; save_memory no-update
  sentinel.

Verified: 1723 unit tests pass, ruff clean. No semantic regression in
stream_new_chat (their memory-extraction deletion and our preflight
removal touch different functions).
2026-05-20 21:23:48 +02:00
..
test_mcp_tools_cache.py perf(mcp): persist list_tools discovery in connector.config.cached_tools 2026-05-20 16:11:07 +02:00
test_resume_page_limits.py feat: implement resume page limit functionality 2026-04-22 18:46:17 +05:30
test_update_memory_scope.py feat: add memory document model and parsing functionality for markdown handling 2026-05-20 13:20:05 +05:30