diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rwxr-xr-x | install.sh | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -12,7 +12,7 @@ Complete text and chat with GPT in Vim/Neovim using OpenAI. ## Installation -vim-ai requires Vim/Neovim compiled with python3 support and the [openai-python](https://github.com/openai/openai-python) library. +vim-ai requires Vim/Neovim compiled with python3 support and the [openai-python](https://github.com/openai/openai-python) library (version 0.27+). ```sh # configure openai api key https://platform.openai.com/account/api-keys @@ -2,13 +2,13 @@ if [ -n "$(which pip)" ]; then echo installing deps using pip - pip install openai + pip install "openai>=0.27" exit 0 fi if [ -n "$(which pip3)" ]; then echo installing deps using pip3 - pip3 install openai + pip3 install "openai>=0.27" exit 0 fi |