mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-15 18:25:18 +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. |
||
|---|---|---|
| .. | ||
| [[...chat_id]] | ||