mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-01 03:46:25 +02:00
- Introduced a ref to track if initial connectors have been set for new chats. - Updated the effect to reset the flag when the chat ID changes, ensuring connectors are set only once on initial mount. - Improved the condition for setting default sources for new chats to prevent unnecessary updates. |
||
|---|---|---|
| .. | ||
| chats | ||
| connectors | ||
| documents | ||
| logs/(manage) | ||
| onboard | ||
| podcasts | ||
| researcher/[[...chat_id]] | ||
| settings | ||
| client-layout.tsx | ||
| layout.tsx | ||
| page.tsx | ||