mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
feat(chat): mount ActiveChatStreamRunner in the workspace shell
This commit is contained in:
parent
5c3aa72c1a
commit
5e453cefee
1 changed files with 4 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ import { workspacesAtom } from "@/atoms/workspaces/workspace-query.atoms";
|
|||
import { ActionLogDialog } from "@/components/agent-action-log/action-log-dialog";
|
||||
import { AnnouncementSpotlight } from "@/components/announcements/AnnouncementSpotlight";
|
||||
import { AnnouncementsDialog } from "@/components/announcements/AnnouncementsDialog";
|
||||
import { ActiveChatStreamRunner } from "@/components/chat/active-chat-stream-runner";
|
||||
import {
|
||||
AlertDialog,
|
||||
AlertDialogAction,
|
||||
|
|
@ -644,6 +645,9 @@ export function LayoutDataProvider({ workspaceId, children }: LayoutDataProvider
|
|||
|
||||
return (
|
||||
<>
|
||||
{/* Persistent host: keeps an in-flight chat turn streaming across
|
||||
in-app navigation and aborts it only on workspace teardown. */}
|
||||
<ActiveChatStreamRunner />
|
||||
<LayoutShell
|
||||
workspaces={workspaces}
|
||||
activeWorkspaceId={Number(workspaceId)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue