From 231fa46125df8ea52e4645ca88f4a04b8d3326b2 Mon Sep 17 00:00:00 2001 From: Aleksandr Bobrov Date: Fri, 24 May 2024 14:57:42 +0400 Subject: [PATCH] Update cmd_commit method signature to accept an optional args parameter. --- aider/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index 6a1d6041c..79a186b2a 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -139,7 +139,7 @@ class Commands: # any method called cmd_xxx becomes a command automatically. # each one must take an args param. - def cmd_commit(self, args): + def cmd_commit(self, args=None): "Commit edits to the repo made outside the chat (commit message optional)" if not self.coder.repo: