mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
allow commands to reply to gpt; /undo tells it with discarded the changes
This commit is contained in:
parent
fcacc3c139
commit
bce64f1986
2 changed files with 9 additions and 4 deletions
|
@ -183,8 +183,9 @@ class Coder:
|
|||
inp = get_input(self.history_file, self.abs_fnames, self.commands)
|
||||
|
||||
if inp.startswith("/"):
|
||||
self.commands.run(inp)
|
||||
return
|
||||
inp = self.commands.run(inp)
|
||||
if not inp:
|
||||
return
|
||||
|
||||
self.num_control_c = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue