-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'm getting this error.
error caught in notification handler '/Users/raf/dotfiles/vim/plugged/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py:command:ChatGPT [['testing']]'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pynvim/plugin/host.py", line 140, in _on_notification
handler(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pynvim/plugin/host.py", line 86, in _wrap_delayed_function
plugin = cls(self._configure_nvim_for(cls))
File "/Users/raf/dotfiles/vim/plugged/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py", line 285, in __init__
self.bot = Bot(Chatbot(Config.load().as_dict()))
File "/Users/raf/dotfiles/vim/plugged/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py", line 42, in load
return Config(**json.load(file))
TypeError: Config.__init__() missing 1 required positional argument: 'authorization'
Is the authorization field in .chatgpt-nvim.json needed? I don't think I can access an API key.
Metadata
Metadata
Assignees
Labels
No labels