Replies: 1 comment
-
明白了,似乎是可以当前聊天室(chatRoomId)会实时记录最后一次对话的 conversationId。有这个conversationId就可以构建出该聊天室的历史消息了。 |
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
-
作者你好,
读了前后端的代码,感觉conversationId似乎属于冗余的字段?对于构建上下文,前端只需回传parentMessageId即可构建出整个上文链表,想问下此时conversationId的作用是什么?
Beta Was this translation helpful? Give feedback.
All reactions