-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[bug] Clear photos and context from the chat after the user hits submit #2011
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
Comments
@drfarrell hey could tell me how to reproduce this? like I checked web-version code I dont see any code that handles attachment as input or you are using another version? |
Hey @silky-x0 , Seems like we're missing clearing the attachments after the call succeeds |
@Kitenite yess checking on it. |
@Kitenite i think this might help didn't tried but looking at the code this will work most likely, what'd you think?
|
@silky-x0 |
@Kitenite yeah actually latter make sense more, but we only have to clear the attachments right? why the whole context? |
That one should only clear the images. |
Describe the bug
Users can add images to prompts but when they hit enter, the images are still attached to the next prompt. Clear them when the user hits enter.
The text was updated successfully, but these errors were encountered: