Skip to content

Commit 2d3227c

Browse files
committed
fix(web): plan implementation threads start on the checkout's live branch
1 parent 2661498 commit 2d3227c

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
@@ -10434,7 +10434,8 @@ export default function ChatView(props: ChatViewProps) {
1043410434
modelSelection: nextThreadModelSelection,
1043510435
runtimeMode: defaultRuntimeMode,
1043610436
interactionMode: "default",
10437-
branch: activeThreadBranch,
10437+
// The new thread runs in the same checkout, so it starts on its live branch.
10438+
branch: checkoutBranchMismatch?.currentBranch ?? activeThreadBranch,
1043810439
worktreePath: activeThread.worktreePath,
1043910440
createdAt,
1044010441
},

0 commit comments

Comments
 (0)