Skip to content

Commit 092dae4

Browse files
committed
fix(web): plan implementation threads start on the checkout's live branch
1 parent bcb94e3 commit 092dae4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/ChatView.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7410,7 +7410,8 @@ export default function ChatView(props: ChatViewProps) {
74107410
modelSelection: nextThreadModelSelection,
74117411
runtimeMode: defaultRuntimeMode,
74127412
interactionMode: "default",
7413-
branch: activeThreadBranch,
7413+
// The new thread runs in the same checkout, so it starts on its live branch.
7414+
branch: checkoutBranchMismatch?.currentBranch ?? activeThreadBranch,
74147415
worktreePath: activeThread.worktreePath,
74157416
createdAt,
74167417
},

0 commit comments

Comments
 (0)