| ... | @@ -1466,7 +1466,7 @@ export default function ChatView({ threadId }: ChatViewProps) { | ... | @@ -1466,7 +1466,7 @@ export default function ChatView({ threadId }: ChatViewProps) { |
| 1466 | // with the worktree cwd/env instead of briefly using the project root. | 1466 | // with the worktree cwd/env instead of briefly using the project root. |
| 1467 | dispatch({ | 1467 | dispatch({ |
| 1468 | type: "SET_THREAD_BRANCH", | 1468 | type: "SET_THREAD_BRANCH", |
| 1469 | threadId: activeThread.id, | 1469 | threadId: threadIdForSend, |
| 1470 | branch: result.worktree.branch, | 1470 | branch: result.worktree.branch, |
| 1471 | worktreePath: result.worktree.path, | 1471 | worktreePath: result.worktree.path, |
| 1472 | }); | 1472 | }); |