summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2023-03-26 14:04:44 +0200
committerMartin Bielik <mx.bielik@gmail.com>2023-03-26 14:04:44 +0200
commit6fa8938304afc740f550bf87e26b3c52dd508d0e (patch)
treef4d87e0a098615eb5c00d3cfc2abda2f81811594
parentbab57ecb21dd24585f633a268c40e99f2ef8c7e3 (diff)
downloadvim-ai-6fa8938304afc740f550bf87e26b3c52dd508d0e.tar.gz
improved request timeout message
-rw-r--r--py/chat.py2
-rw-r--r--py/complete.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/py/chat.py b/py/chat.py
index 8ef4e89..0104014 100644
--- a/py/chat.py
+++ b/py/chat.py
@@ -55,4 +55,4 @@ try:
except KeyboardInterrupt:
vim.command("normal! a Ctrl-C...")
except openai.error.Timeout:
- vim.command("normal! a Connection timeout...")
+ vim.command("normal! aRequest timeout...")
diff --git a/py/complete.py b/py/complete.py
index 1f32e3e..e474580 100644
--- a/py/complete.py
+++ b/py/complete.py
@@ -29,4 +29,4 @@ try:
except KeyboardInterrupt:
vim.command("normal! a Ctrl-C...")
except openai.error.Timeout:
- vim.command("normal! a Connection timeout...")
+ vim.command("normal! aRequest timeout...")