From 4226cbd8020253b010fb44d395db12efe68e1272 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 21 Sep 2023 22:30:17 -0400 Subject: 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. --- Biz/Mynion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Biz/Mynion.py') 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() -- cgit v1.2.3