tarasglek / chatcraft.org

Developer-oriented ChatGPT clone
https://chatcraft.org/
MIT License
155 stars 36 forks source link

[Regression] Can't paste images into chat #683

Closed humphd closed 2 months ago

humphd commented 2 months ago

Didn't we used to support pasting images in to the chat? I can't seem to make it work.

I wonder if it's being blocked on the model I'm using, and our "vision" implementation not being smart enough to know that this is allowed?

rjwignar commented 2 months ago

ChatCraftPasteTest

I'm able to paste images into the Chat using Control+V and Windows+V to select an image from my clipboard. This is with my OpenAI API Key stored and with gpt-4o-latest already selected, using Microsoft Edge on Windows 10.

It might be our current implementation, but I haven't investigated that far.

Amnish04 commented 2 months ago

I wonder if it's being blocked on the model I'm using, and our "vision" implementation not being smart enough to know that this is allowed?

Yes, this happens to me when using a non-supported model.

image
humphd commented 2 months ago

I'm hitting something else. If I copy something on my Mac and try to paste, it seems to work. If I try to copy an image form MS Teams, it won't paste anything. I wonder if the way the clipboard data is shared is different...

humphd commented 2 months ago

Looks like Teams is a POS https://answers.microsoft.com/en-us/msteams/forum/all/teams-copy-image-not-working/dfa225ca-3466-49b8-b41a-f2f31c2b140f

I think we're OK.