emacs-openai / chatgpt

Use ChatGPT inside Emacs
GNU General Public License v3.0
195 stars 21 forks source link

Got 400 error during conversation #28

Closed jcubic closed 1 year ago

jcubic commented 1 year ago

During conversation, I got 400 errors:

[error] request--callback: peculiar error: 400
400 - Bad request.  Please check error message and your parameters

an no way to debug. I can give you the whole conversation I was asking about my elisp code.

EDIT: when I got about 1800 tokens (I got this indicator at the bottom) the chat stoped responding. When I reset the chat I got 400 errors.

jcs090218 commented 1 year ago

Check our debugging section, see https://github.com/emacs-openai/openai#-debugging.

It should print out the reason why the message failed. 🤔

jcubic commented 1 year ago

Unfortunately, I've reset the session. I'm closing this now but I will reopen it when this happens again I will check the logs when it occurs.