Query #26
Unanswered
mujtaba-fleapo
asked this question in
Q&A
Query
#26
Replies: 1 comment
-
@mujtaba-fleapo const messages = useChat();
use-chat/src/provider/ChatProvider.tsx Line 403 in 43a239c So, if you send a message it will be immediately available in the useChat hook. |
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
-
Hi, kind of a stupid question but I need to know the difference between the sendMessage and addMessage functions provided by use-chat, and what can be the use cases for each.
Again, I apologize if this question seems too naive.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions