From 729cad640fbee6597f6564b06ba208a94cc07254 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 1 Oct 2024 11:54:28 -0700 Subject: [PATCH] feat: Add announcements to /settings output --- aider/commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index e177e77ca..e2c915391 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1203,7 +1203,9 @@ class Commands: def cmd_settings(self, args): "Print out the current settings" settings = format_settings(self.parser, self.args) - self.io.tool_output(settings) + announcements = "\n".join(self.coder.get_announcements()) + output = f"{settings}\n\nAnnouncements:\n{announcements}" + self.io.tool_output(output) def cmd_copy(self, args): "Copy the last assistant message to the clipboard"