mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
Move duplicated types (ThinkingStepData, ContentPart), content-part helpers (appendText, addToolCall, updateToolCall, buildContentForUI, buildContentForPersistence), and SSE read loop (readSSEStream) into a shared module. Removes ~395 lines of tripled code from page.tsx. |
||
|---|---|---|
| .. | ||
| message-utils.ts | ||
| podcast-state.ts | ||
| streaming-state.ts | ||
| thread-persistence.ts | ||