diff options
author | Schark <jordan@schark.online> | 2023-12-05 14:33:42 -0800 |
---|---|---|
committer | Schark <jordan@schark.online> | 2023-12-05 14:33:42 -0800 |
commit | 90e2e98f420b7b213ff16c1376a2905f10addb5f (patch) | |
tree | e352b92ed9ec39fd7a83166aeba8178c196d1f00 | |
parent | 45cfb6e15597676f3f9be4c76a6ddc78076e2748 (diff) | |
download | cli-gpt-90e2e98f420b7b213ff16c1376a2905f10addb5f.tar.gz cli-gpt-90e2e98f420b7b213ff16c1376a2905f10addb5f.zip |
Moving API key location to 'key', file restructure
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/chat.py (renamed from chat.py) | 2 | ||||
-rw-r--r-- | src/help.py (renamed from help.py) | 0 | ||||
-rw-r--r-- | src/style.py (renamed from style.py) | 0 |
4 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ .venv/ __pycache__/ *.json -token +key @@ -12,7 +12,7 @@ from style import StyleLog # Read in token from "token" file # TODO: env variable in future? -with open("token", "r") as file: +with open("key", "r") as file: token = file.readlines() client = OpenAI(api_key=token[0].strip()) |