From 11db5d95a0d2980965276b02828bb608c16711cc Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 27 Sep 2024 14:25:22 -0700 Subject: [PATCH] feat: Add /copy command to copy last assistant message --- aider/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index 8e3b1952f..7ff5e383f 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1040,7 +1040,8 @@ class Commands: return text def cmd_paste(self, args): - "Paste image/text from the clipboard into the chat (optionally provide a name for the image)" + """Paste image/text from the clipboard into the chat. + Optionally provide a name for the image.""" try: # Check for image first image = ImageGrab.grabclipboard()