feat: Add support for uploading clipboard images and text to chat

This commit is contained in:
Paul Gauthier 2024-08-09 14:47:36 -03:00 committed by Paul Gauthier (aider)
parent 17038f30f2
commit a94b871991

View file

@ -898,7 +898,7 @@ class Commands:
return text
def cmd_clipboard(self, args):
"Add content from the clipboard to the chat (supports both text and images)"
"Add image/text from the clipboard to the chat (optionally provide a name for the image)"
try:
# Check for image first
image = ImageGrab.grabclipboard()