diff --git a/aider/commands.py b/aider/commands.py index e104f6eca..82019e532 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1189,6 +1189,10 @@ class Commands: """Enter context mode to see surrounding code context. If no prompt provided, switches to context mode.""" # noqa return self._generic_chat_command(args, "context", placeholder=args.strip() or None) + def cmd_ok(self, args): + "Alias for `/code Ok, please go ahead and make those changes.`" + return self.cmd_code("Ok, please go ahead and make those changes.") + def _generic_chat_command(self, args, edit_format, placeholder=None): if not args.strip(): # Switch to the corresponding chat mode if no args provided