Replies: 2 comments 2 replies
-
You can pass an |
Beta Was this translation helpful? Give feedback.
2 replies
-
I thought I had the same problem, but the actual problem is I was using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing a SvelteKit application and I'm using useChat in different parts of my UI.
The problem I'm having is that isLoading and stop() will only work for the "same" useChat instance. If I call stop() from one component when a message was appended from another component nothing will happen.
Same problem with isLoading. It will only update if I append a message from the same place as I'm using isLoading.
Is this by design? Perhaps I'm missing something obvious here?
Beta Was this translation helpful? Give feedback.
All reactions