Skip to content

Commit 66eb5ac

Browse files
committed
fix(client): pass connection phase to side chat shells
1 parent 0609a5e commit 66eb5ac

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎packages/client-runtime/src/state/threadShell.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,12 @@ export function createEnvironmentThreadShellAtoms(input: {
518518
}
519519
const subagentRequests = get(pendingSubagentRequestsAtom(ref.environmentId));
520520
const next = sideChats.map((thread) =>
521-
scopedThread(ref.environmentId, thread, subagentRequests),
521+
scopedThread(
522+
ref.environmentId,
523+
thread,
524+
subagentRequests,
525+
get(input.connectionPhaseAtom(ref.environmentId)),
526+
),
522527
);
523528
if (
524529
previous.length === next.length &&

0 commit comments

Comments
 (0)