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. |
||
|---|---|---|
| .. | ||
| anonymous_chat | ||
| multi_agent_chat | ||
| runtime | ||
| shared | ||
| __init__.py | ||