-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix (ui/svelte): use instance-specific generateId for user messages #5252
Conversation
😭 Thank you very much, I hope this fix will merge soon.. |
wait... when use I this fix, it still generate default id. Use same code as here:
Why.... |
@NeroBlackstone Turns out there were two places that needed this fix, the append and handleSubmit methods. Should work now, I tested with your code 👍 |
YES, THIS FIX WORKED!!! Bro, you are a hero you know??? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Please add a patch changeset for ai/svelte with the PR title |
All set! @lgrammel |
Fixed a bug by using the instance-specific this.#generateId() for message ID generation instead of the global generateId(). Fixes #5249.