Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixs:当最后一条数据因大模型没返回数据时导致调试时前端报错。 #2637

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

xianlezheng
Copy link
Contributor

修改内容

在调试页面,当调试时,大模型没有反回值,会导致页面崩溃。

原因

lastMessageValue取值时需要提前判断空值,否则取出来的值为空对象。

图片

image image

在lastMessageValue取值时需要提前判断空值。
Copy link

cla-assistant bot commented Sep 7, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


zhengxianle seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@xianlezheng
Copy link
Contributor Author

已测试,暂无问题。

@c121914yu
Copy link
Collaborator

感谢。

@c121914yu c121914yu merged commit 1a33642 into labring:main Sep 8, 2024
2 of 3 checks passed
FinleyGe pushed a commit to FinleyGe/FastGPT that referenced this pull request Sep 10, 2024
在lastMessageValue取值时需要提前判断空值。

Co-authored-by: zhengxianle <[email protected]>
@FinleyGe FinleyGe mentioned this pull request Sep 10, 2024
shilin66 pushed a commit to shilin66/FastGPT that referenced this pull request Sep 12, 2024
在lastMessageValue取值时需要提前判断空值。

Co-authored-by: zhengxianle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants