summaryrefslogtreecommitdiff
path: root/Biz/Mynion.py
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-09-21 22:30:17 -0400
committerBen Sima <ben@bsima.me>2023-10-03 21:33:37 -0400
commit4226cbd8020253b010fb44d395db12efe68e1272 (patch)
tree4ee121a0cf26098b1cec1feed24c2cdd8e036562 /Biz/Mynion.py
parentdbdf4da2576f889544a33ce0bad4b8a5ff3eca87 (diff)
Rename BIZ_ROOT to CODEROOT
BIZ_ROOT was too specific. CODEROOT allows for other (non-biz) projects to live in the root of the repo. I didn't want to call it GIT_ROOT because maybe someday I won't want to use git. But I'll never not use code.
Diffstat (limited to 'Biz/Mynion.py')
-rw-r--r--Biz/Mynion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Mynion.py b/Biz/Mynion.py
index 6bb55e1..85eadc8 100644
--- a/Biz/Mynion.py
+++ b/Biz/Mynion.py
@@ -45,7 +45,7 @@ class Mynion(slixmpp.ClientXMPP):
self.tokenizer = tokenizer
self.generator = generator
- root = os.getenv("BIZ_ROOT", "")
+ root = os.getenv("CODEROOT", "")
# this should be parameterized somehow
with open(os.path.join(root, "Biz", "Mynion", "Prompt.md")) as f:
txt = f.read()