Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Fix toast follow-up actions to avoid re-branching

Julius Marminge7a5ccd33102a
diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx
index f0819bb22..654ccc2aa 100644
--- a/apps/web/src/components/GitActionsControl.tsx
+++ b/apps/web/src/components/GitActionsControl.tsx
@@ -347,7 +347,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
action: "commit_push",
forcePushOnlyProgress: true,
onConfirmed: closeResultToast,
- featureBranch,
+ ...(featureBranch ? { skipDefaultBranchPrompt: true } : {}),
});
},
},
@@ -373,7 +373,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
void runGitActionWithToast({
action: "commit_push_pr",
forcePushOnlyProgress: true,
- featureBranch,
+ ...(featureBranch ? { skipDefaultBranchPrompt: true } : {}),
});
},
},