How to get trace/explanation of error messages?
Artawower opened this issue · comments
When i try explain or documentate long code (more then few lines) i get next error message:
[error] request--callback: peculiar error: 400
error in process sentinel: openai--handle-error: 400 - Bad request. Please check error message and your parameters
error in process sentinel: 400 - Bad request. Please check error message and your parameters
How can i check details of such errors?
Sorry, there isn't a way to do that yet. I am still playing with the request library, and hopefully, I can somewhat improve this behavior. The relevant code is:
https://github.com/emacs-openai/openai/blob/master/openai.el#L59-L69
When i try explain or documentate long code (more then few lines) i get next error message:
From what I have heard, OpenAI will refuse any long query now, so there are not many things we can do on the client side.