summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-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
diff --git a/.gitignore b/.gitignore
index 59fe332..feba61d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
.venv/
__pycache__/
*.json
-token
+key
diff --git a/chat.py b/src/chat.py
index 1221d8e..cfa9819 100644
--- a/chat.py
+++ b/src/chat.py
@@ -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())
diff --git a/help.py b/src/help.py
index 9170241..9170241 100644
--- a/help.py
+++ b/src/help.py
diff --git a/style.py b/src/style.py
index ad616d8..ad616d8 100644
--- a/style.py
+++ b/src/style.py