chatgpt-mattermost-bot icon indicating copy to clipboard operation
chatgpt-mattermost-bot copied to clipboard

Introduce Error Handling for createChatCompletion() thread

Open your-highness opened this issue 2 years ago • 4 comments
trafficstars

Closes #35

your-highness avatar May 25 '23 11:05 your-highness

Any idead when it will be merged?

your-highness avatar Jun 01 '23 09:06 your-highness

Can you describe the effect of this PR? How exactly did it improve the situation for you?Before: crash, stacktrace, restart.After: crash, log error, continue. What else?Do you get better error messages this way? -------- Ursprüngliche Nachricht --------Von: Johannes Helmuth @.> Datum: 01.06.23 15:09 (GMT+06:00) An: yGuy/chatgpt-mattermost-bot @.> Cc: Subscribed @.***> Betreff: Re: [yGuy/chatgpt-mattermost-bot] Introduce Error Handling for createChatCompletion() thread (PR #40) Any idead when it will be merged?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

yGuy avatar Jun 01 '23 09:06 yGuy

The log output indicates now that the chat completion did not work properly. Before it was not giving any output at all if case of crashing threads.

your-highness avatar Jun 01 '23 13:06 your-highness

OK. Please update to not just error the status and message, but format all of the available information into a single status and message error. Include a text that describes the location of the error. Like "error from openai response: status: .. message: ..."

yGuy avatar Jun 09 '23 06:06 yGuy