It seems that chatgpt-wrapper changed it's API last week. This goofy kludge got chatgpt.py working again for me (fresh install, today's my first day with ChatGPT.el):
try:
from chatgpt_wrapper import ChatGPT
except ImportError:
from chatgpt_wrapper import OpenAIAPI as ChatGPT
It seems that chatgpt-wrapper changed it's API last week. This goofy kludge got
chatgpt.py
working again for me (fresh install, today's my first day with ChatGPT.el):Note, here's a ticket in chatgpt-wrapper where I made the same comment from the other direction https://github.com/mmabrouk/chatgpt-wrapper/issues/285. Turns out that was a bit of a stupid comment, oh well.