diff --git a/aider/gui.py b/aider/gui.py index 6d5cd0a9a..2776a477d 100755 --- a/aider/gui.py +++ b/aider/gui.py @@ -19,9 +19,11 @@ class CaptureIO(InputOutput): def tool_output(self, msg): self.lines.append(msg) + super().tool_output(msg) def tool_error(self, msg): self.lines.append(msg) + super().tool_error(msg) def get_captured_lines(self): lines = self.lines @@ -76,6 +78,9 @@ def get_coder(): # coder.io = io # this breaks the input_history coder.commands.io = io + for line in coder.get_announcements(): + coder.io.tool_output(line) + return coder