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. |
||
|---|---|---|
| .. | ||
| apis | ||
| chat | ||
| connectors | ||
| electric | ||
| posthog | ||
| query-client | ||
| auth-errors.ts | ||
| auth-utils.ts | ||
| env-config.ts | ||
| error.ts | ||
| format-date.ts | ||
| source.ts | ||
| utils.ts | ||