mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-27 19:25:15 +02:00
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). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| action_log.py | ||
| anonymous_document.py | ||
| busy_mutex.py | ||
| compaction.py | ||
| context_editing.py | ||
| dedup_tool_calls.py | ||
| doom_loop.py | ||
| file_intent.py | ||
| filesystem.py | ||
| flatten_system.py | ||
| kb_persistence.py | ||
| kb_postgres_backend.py | ||
| knowledge_search.py | ||
| knowledge_tree.py | ||
| local_folder_backend.py | ||
| memory_injection.py | ||
| multi_root_local_folder_backend.py | ||
| noop_injection.py | ||
| otel_span.py | ||
| permission.py | ||
| retry_after.py | ||
| scoped_model_fallback.py | ||
| skills_backends.py | ||
| tool_call_repair.py | ||