From d1a1885e21790547cdf9c5428a752dbe4b429cf0 Mon Sep 17 00:00:00 2001 From: minimax Date: Fri, 25 Sep 2026 01:53:10 +0800 Subject: [PATCH] fix: remove forced branching from bash guidance --- packages/agent-tools/src/desktop/builtin-defs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/agent-tools/src/desktop/builtin-defs.ts b/packages/agent-tools/src/desktop/builtin-defs.ts index 24fb62a7..74b7f592 100644 --- a/packages/agent-tools/src/desktop/builtin-defs.ts +++ b/packages/agent-tools/src/desktop/builtin-defs.ts @@ -118,7 +118,7 @@ export const LocalBashToolDef = { '# Git', '- Interactive flags (`-i`, e.g. `git rebase -i`, `git add -i`) are not supported in this environment.', '- Use the `gh` CLI for GitHub operations (PRs, issues, API).', - '- Commit or push only when the user asks. If on the default branch, branch first.', + '- Commit or push only when the user asks.', ].join('\n'), schema: Type.Object({ command: Type.String({