From 6fa8938304afc740f550bf87e26b3c52dd508d0e Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Sun, 26 Mar 2023 14:04:44 +0200 Subject: improved request timeout message --- py/chat.py | 2 +- py/complete.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'py') 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...") -- cgit v1.2.3