when reload
in useChat
, I want to keep the last - previous AI message
#3768
Unanswered
QiaoLi1996
asked this question in
Help
Replies: 1 comment
-
You would need to implement your own message management mechanism. We currently only support a linear message list, what you need is a message tree. |
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 want to implement the following function:
when the user click reload button, want to display multiple ai replys for user.
But the
reload
inuseChat
will clear the last - previous AI message。Is there any good suggestion or method?
Beta Was this translation helpful? Give feedback.
All reactions