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

Upgrade error reporting for streams #69

Closed
sashabaranov opened this issue Feb 14, 2023 · 4 comments
Closed

Upgrade error reporting for streams #69

sashabaranov opened this issue Feb 14, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@sashabaranov
Copy link
Owner

sashabaranov commented Feb 14, 2023

It would be nice to have improved error reporting for streams (based on #68)

@sheikbasha9176
Copy link

Hi I would like to work on this and submit a PR later

@woody712
Copy link

I also have this requirement.

@vvatanabe vvatanabe added the enhancement New feature or request label Jul 1, 2023
@vvatanabe
Copy link
Collaborator

Related Topic: https://community.openai.com/t/chatgpt-turbo-streaming-always-ends-in-error/83522/5

Sample:

data: {“error”:{“message”:“The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at [help.openai.com 1](http://help.openai.com/) if you keep seeing this error. (Please include the request ID fb94b183e8b7bc5aca22fa62981cc107 in your email.)”,“type”:“server_error”,“param”:null,“code”:null}}

Formatted:

{
    “error”: {
        “message”: “The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com 1 if you keep seeing this error. (Please include the request ID fb94b183e8b7bc5aca22fa62981cc107 in your email.)”,
        “type”:“server_error”,
        “param”:null,
        “code”:null
    }
}

@vvatanabe
Copy link
Collaborator

Fixed #396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants