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

[Feature] Better error handling on /stream #910

Open
2 tasks
dartpain opened this issue Apr 8, 2024 · 1 comment
Open
2 tasks

[Feature] Better error handling on /stream #910

dartpain opened this issue Apr 8, 2024 · 1 comment
Labels
application Application enhancement New feature or request frontend help wanted Extra attention is needed

Comments

@dartpain
Copy link
Contributor

dartpain commented Apr 8, 2024

This is a backend and frontend feature again.

Frontend Part:
Accept error type message in a /stream and print it out in the "something went wrong" message. Most of the stuff that needs to be done is in the /frontend/scr/conversation directory

Backend Part:
Wrap our /stream function to handle error and stream type: "error reason" if something fails there such that frontend can accept it.

Acceptance Criteria

  • Scenario: Error handling on /stream
    • Given a user is using the /stream feature
    • When an error occurs during the stream
    • Then the user should see an error message like "error reason"
  • Scenario: Backend wraps stream function
    • Given a user is using the /stream feature
    • When an error occurs during the stream
    • Then the backend should wrap the stream function to handle the error and stream type: "error reason"
@dartpain dartpain added application Application enhancement New feature or request frontend help wanted Extra attention is needed labels Apr 8, 2024
@sarfarazsiddiquii
Copy link
Contributor

@dartpain, I believe all issues are resolved. Could you please approve the changes and close this issue?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application Application enhancement New feature or request frontend help wanted Extra attention is needed
Projects
Status: Todo
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants