mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
Add the referenced_chat_context slice: models for the data shapes, a fail-closed resolver that fetches mentioned threads and their visible turns under the same access rules as thread search, and a transcript renderer that emits a budgeted <referenced_chat_context> block. When a chat exceeds the per-reference character budget, recent turns are kept and any leftover budget is filled with the overflowing turn's tail, with truncation markers signalling the cut. |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| scripts | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .python-version | ||
| alembic.ini | ||
| celery_worker.py | ||
| Dockerfile | ||
| main.py | ||
| pyproject.toml | ||
| uv.lock | ||