fix: modify the message storage format of chat_message#448
Closed
AutumnFruit-1999 wants to merge 30 commits intospring-ai-alibaba:mainfrom
Closed
fix: modify the message storage format of chat_message#448AutumnFruit-1999 wants to merge 30 commits intospring-ai-alibaba:mainfrom
AutumnFruit-1999 wants to merge 30 commits intospring-ai-alibaba:mainfrom
Conversation
Collaborator
|
Unknown column 'content_html' in 'field list,看一下,再修复下ci |
Contributor
Author
|
OK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe what this PR does / why we need it
消息存储格式是基于前端构建的html格式消息,要求存储原始文本
Does this pull request fix one issue?
Describe how you did it
基于通过获取graph历史状态获取
问题:
框架中节点拼接的消息不会增加的graph状态中,只会添加llm返回信息,导致展示和存储的消息不符
现解决方法
流式数据发送到前端的时候是原始的文本数据,在前端进行html的拼接之后调用消息保存接口,即将原始的未进行html格式的数据直接请求到后端,保证输出消息和存储的原始消息保持一致
Describe how to verify it
Special notes for reviews