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

Preview for attached image is not showing on chat page #475

Open
thiagobarbosa opened this issue Oct 31, 2024 · 1 comment · May be fixed by #484
Open

Preview for attached image is not showing on chat page #475

thiagobarbosa opened this issue Oct 31, 2024 · 1 comment · May be fixed by #484

Comments

@thiagobarbosa
Copy link

Hey all!

When a user message has an image attached, that image only appears on the conversation window before any reload.

This is how you can reproduce this: if you upload an image together with your message using the experimental attachment feature, the chat conversation shows your message with a little "thumbnail-like" version of your image, like here:

Screenshot 2024-10-31 at 22 24 12

But if you refresh the page, or access the route /chat/[id] directly, the image doesn't show up anymore:


Screenshot 2024-10-31 at 22 24 21

I could verify that the image metadata itself was saved correctly, so the problem seems to be only when rendering the chat history.
@kcleveland
Copy link

I'm having the same issue.

@thiagobarbosa thiagobarbosa linked a pull request Nov 4, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants