Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for clipboard input #326

Open
ErikBjare opened this issue Dec 12, 2024 · 4 comments
Open

Add support for clipboard input #326

ErikBjare opened this issue Dec 12, 2024 · 4 comments

Comments

@ErikBjare
Copy link
Owner

Would be great to support both text and image contents in clipboard. Would make it a lot easier to ingest information through the clipboard (since we don't support multi-line strings, you currently have to paste contents to a file, or a path to the screenshot).

Suggested by /u/Either-Nobody-3962

@0xbrayo
Copy link
Collaborator

0xbrayo commented Dec 12, 2024

Seems simple enough, not sure how to handle image content though, do you just push the base64 string as input. I guess it still can interpret that?

@ErikBjare
Copy link
Owner Author

We'd dump the image contents to a tmp file and attach it to the message like any other vision message.

@ErikBjare
Copy link
Owner Author

With #244 we now support pasting multiline strings thanks to prompt-toolkit, so the priority on this is now less.

@0xbrayo
Copy link
Collaborator

0xbrayo commented Dec 15, 2024

Cool. I guess only the use case now is the screenshot input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants