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

Fix: Handle empty server response in API call #4379

Merged
merged 1 commit into from
Mar 24, 2024
Merged

Fix: Handle empty server response in API call #4379

merged 1 commit into from
Mar 24, 2024

Conversation

EasonQwQ
Copy link

在这次提交中,我针对本地使用的模型在处理问答提交时可能出现的问题进行了改善。具体场景是:当用户提交一个问题后,由于模型原因已经结束了但是未能返回任何信息时,界面会持续显示加载状态,而无任何反馈给用户。为了解决这一问题,本次提交增加了对已结束但返回结果长度为零情况的处理逻辑

Copy link

vercel bot commented Mar 23, 2024

Someone is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Your build has completed!

Preview deployment

@fred-bf
Copy link
Contributor

fred-bf commented Mar 24, 2024

thanks for your contributions

@fred-bf fred-bf merged commit f1b4c08 into ChatGPTNextWeb:main Mar 24, 2024
1 of 2 checks passed
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
Fix: Handle empty server response in API call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants