When I tried installing this it failed to work because I would get the response:
epc:start-server: Server may raise an error. Use "M-x epc:pop-to-last-server-process-buffer RET" to see full traceback:
Traceback (most recent call last):
File "/Users/akmb2/.emacs.d/.local/straight/repos/ChatGPT.el/chatgpt.py", line 4, in <module>
from chatgpt_wrapper import ChatGPT
ModuleNotFoundError: No module named 'chatgpt_wrapper'
After some debugging, I determined that APIBackend is the suggested method to use ChatGPT for the updated package. I do not know when this was changed.
I remove some of the previous checks because the import will fail if there is an old chatgpt_wrapper version.
The API to the chatgpt_wrapper has changed:
https://github.com/mmabrouk/chatgpt-wrapper#python
https://github.com/mmabrouk/chatgpt-wrapper/blob/593cd6f832b92eaf3332630c825c17d7a0510902/lwe/backends/api/backend.py#L25
When I tried installing this it failed to work because I would get the response:
After some debugging, I determined that APIBackend is the suggested method to use ChatGPT for the updated package. I do not know when this was changed.
I remove some of the previous checks because the import will fail if there is an old chatgpt_wrapper version.