summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md2
-rwxr-xr-xinstall.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6cb5e05..dc997a3 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/install.sh b/install.sh
index 76174c4..44156bb 100755
--- a/install.sh
+++ b/install.sh
@@ -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