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

Display Connection Failure Prompt When Large Model Dialogue Times Out or Returns Errors (e.g., 404) #373

Closed
yuzcat01 opened this issue Nov 7, 2024 · 0 comments · Fixed by #378
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yuzcat01
Copy link
Collaborator

yuzcat01 commented Nov 7, 2024

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

  1. Add a loading indicator on the interface, and if it exceeds a specified time, prompt the user to check the network or service connection.
  2. Provide a manual retry button, allowing users to manually attempt reconnection if a connection issue occurs.

Additional context
This feature would improve user experience by helping users quickly understand the connection status.

@rjmacarthy rjmacarthy added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Nov 7, 2024
rjmacarthy added a commit that referenced this issue Nov 11, 2024
Add a error prompt and a timeout timer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants