Display Connection Failure Prompt When Large Model Dialogue Times Out or Returns Errors (e.g., 404) #373
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
When interacting with a large model, sometimes due to network delays, model service instability, or interface errors (such as 404 or other errors), there’s no response for an extended period. In these cases, users are unsure whether the connection has failed or if they are just waiting, leading to a poor user experience.
Describe the solution you'd like
I would like a prompt to appear immediately when a connection times out or any error (e.g., 404) is received, informing the user of the connection failure to prevent prolonged waiting with no response. Consider triggering this prompt if no response is received within a certain time frame.
Describe alternatives you've considered
Additional context
This feature would improve user experience by helping users quickly understand the connection status.
The text was updated successfully, but these errors were encountered: