SurfSense/surfsense_backend/app/tasks/chat/streaming/shared
CREDO23 4910263c93 refactor(chat): add streaming/shared/ package for StreamResult and utils
Foundation layer for the parallel refactor of stream_new_chat.py.
Extracts the StreamResult dataclass (tracks per-turn streaming state)
and a small set of shared utilities (resume_step_prefix, safe_float).

Add-only; no existing code imports from this package yet. Existing
stream_new_chat.py keeps its inline equivalents until cutover.
2026-05-25 21:48:04 +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 refactor(chat): add streaming/shared/ package for StreamResult and utils 2026-05-25 21:48:04 +02:00
utils.py refactor(chat): add streaming/shared/ package for StreamResult and utils 2026-05-25 21:48:04 +02:00