refactor: update NewChatPage to re-initialize thread on search space switch and add new SSE event for document updates

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-03-29 02:52:23 -07:00
parent 461192174d
commit 2a06d035f5
2 changed files with 4 additions and 4 deletions

View file

@ -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 };
/**