mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: Add support for uploading clipboard images and text to chat
This commit is contained in:
parent
17038f30f2
commit
a94b871991
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue