make GitCommitTool accept git instance

This commit is contained in:
Alex Gleason committed 2025-09-14 17:27:12 -05:00
1 parent 1ab895bd59
commit bc009d444e
5 files changed
+12 -16

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
const customTools = useMemo(() => {
const git = new Git(fs);
const baseTools = {
git_commit: new GitCommitTool(fs, cwd),
git_commit: new GitCommitTool(fs, cwd, git),
text_editor_view: new TextEditorViewTool(fs, cwd),
text_editor_write: new TextEditorWriteTool(fs, cwd),
text_editor_str_replace: new TextEditorStrReplaceTool(fs, cwd),