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

[chat_app example] the message are in another order when refreshing the page #561

Closed
scenaristeur opened this issue Dec 28, 2024 · 1 comment · Fixed by #569
Closed

[chat_app example] the message are in another order when refreshing the page #561

scenaristeur opened this issue Dec 28, 2024 · 1 comment · Fixed by #569

Comments

@scenaristeur
Copy link

scenaristeur commented Dec 28, 2024

following fastapi_chatapp https://ai.pydantic.dev/examples/chat-app/

first i send 2 messages
Screenshot 2024-12-29 at 00-12-55 Chat App
then i refresh the browser with F5 and the message are not in the good order

Screenshot 2024-12-29 at 00-13-13 Chat App
perhaps the "ORDERBY ID" is not a good choice, shouldn'be order by timestamp ?

2024-12-29_00-13

@samuelcolvin
Copy link
Member

Thanks, looks like they were in the reverse order, fixed in #569.

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