emacs-openai / chatgpt

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

Got 400 error during conversation #28

Closed jcubic closed 10 months ago

jcubic commented 10 months 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 10 months 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 10 months 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.