-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
[Bug] 在 Gemini 2.0 Flash Exp 生图失败时最好显示一个错误 #6963
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
目前在 Gemini 2.0 Flash Exp 模块中,似乎没有明确的错误处理机制或用户界面组件来显示错误消息[1]。为了改善用户体验,建议在代码中添加错误处理逻辑,并在用户界面上显示相应的错误提示。这可以通过在图像生成失败时捕获异常,并使用现有的 UI 组件显示错误消息来实现。这样可以帮助用户更好地理解问题所在,并采取相应的措施。 To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
有服务端报错吗?主要是现在好像没有相关的状态返回 |
Is there an error on the server side? It seems that there is no relevant status now |
奇怪,我试了几次图片上传或者要求图文并茂,都没有官网的效果,修图出现上述报错无回复,图文并茂无图. |
Strangely, I tried uploading pictures several times or requesting pictures and texts, but there was no effect on the official website. There was no reply to the above error when editing pictures, and there was no picture and text. |
This issue is closed, If you have any questions, you can comment and reply. |
试了好几次就没成功过,跟你一样没有任何输出报错 |
I tried several times and didn't succeed. Like you, there was no error in the output. |
官方网站使用是有错误信息的 |
There is an error message when using the official website |
@bbbugg 能不能给一个有错误信息的输入我测测看? |
@bbbugg Can I give an input with error message and I can check it? |
点开那个报错警告就能看见了 |
Click on the error warning to see it |
📦 部署环境
Docker
📦 部署模式
服务端模式(lobe-chat-database 镜像)
📌 软件版本
v1.71.0
💻 系统环境
macOS
🌐 浏览器
Other
🐛 问题描述
Gemini 2.0 Flash Exp 在生图的时候,如果出现错误,最好显示一个提示?
否则现在啥都不显示,会怪怪的不知道出现了啥问题。
例如:
在 AI Studio 里面至少会有一个错误提示:
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: