diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2023-03-21 18:36:38 +0100 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2023-03-21 18:36:38 +0100 |
| commit | 8125570fc4ca94b085857eadc563eafc2c0564a5 (patch) | |
| tree | c67323c90c13c3c06e1364cf662e4ed467b514b3 /py/utils.py | |
| parent | e025530d25cedd1dcbd9d2102cd06296f3707da9 (diff) | |
| download | vim-ai-8125570fc4ca94b085857eadc563eafc2c0564a5.tar.gz | |
openai configuration
Diffstat (limited to '')
| -rw-r--r-- | py/utils.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/utils.py b/py/utils.py index 05da3b9..c9e88f2 100644 --- a/py/utils.py +++ b/py/utils.py @@ -1,8 +1,6 @@ import sys import os -request_timeout_seconds = 15 - def load_api_key(): config_file_path = os.path.join(os.path.expanduser("~"), ".config/openai.token") api_key = os.getenv("OPENAI_API_KEY") |