SurfSense/surfsense_backend/app/tasks/chat/streaming/shared
CREDO23 04a76b163b citations: conversation-scoped registry with finalize-time [n] resolution
Add the checkpointed CitationRegistry (load/merge helpers + state field)
and a lightweight CitationStateMiddleware so subagents can register into
the same conversation registry. Resolve [n] -> [citation:<payload>] at
stream finalize from the registry, polymorphically by source type.
2026-06-25 15:26:25 +02:00
..
__init__.py refactor(chat): add streaming/shared/ package for StreamResult and utils 2026-05-25 21:48:04 +02:00
stream_result.py citations: conversation-scoped registry with finalize-time [n] resolution 2026-06-25 15:26:25 +02:00
utils.py refactor(chat): add streaming/shared/ package for StreamResult and utils 2026-05-25 21:48:04 +02:00