mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
refactor: update NewChatPage to re-initialize thread on search space switch and add new SSE event for document updates
This commit is contained in:
parent
461192174d
commit
2a06d035f5
2 changed files with 4 additions and 4 deletions
|
|
@ -229,6 +229,7 @@ export type SSEEvent =
|
|||
| { type: "data-thinking-step"; data: ThinkingStepData }
|
||||
| { type: "data-thread-title-update"; data: { threadId: number; title: string } }
|
||||
| { type: "data-interrupt-request"; data: Record<string, unknown> }
|
||||
| { type: "data-documents-updated"; data: Record<string, unknown> }
|
||||
| { type: "error"; errorText: string };
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue