summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2026-06-04 14:57:54 -0400
committerBen Sima <ben@bensima.com>2026-06-04 14:57:54 -0400
commit064ac261533f146cf675af63d18c7505e1bc74b7 (patch)
tree2cadb721122ff2fd7fde78cf534ad2e4ebed27cb
parent4fb839645f215bd33e0f5f131dd4cd3d65a94a3e (diff)
Resolve prompt path from working directory
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index af4f657..77ce660 100644
--- a/main.py
+++ b/main.py
@@ -35,7 +35,7 @@ TICKER_RE = re.compile(r"\$([A-Z]{1,5})")
# Regex to detect @mention of slop / slopbot
MENTION_RE = re.compile(r"@\*\*slop[^*]*\*\*", re.IGNORECASE)
-BASE_DIR = Path(__file__).parent
+BASE_DIR = Path.cwd()
AGENT_TIMEOUT = int(os.environ.get("SLOPBOT_AGENT_TIMEOUT", "120"))
AGENT_MODEL = os.environ.get("SLOPBOT_AGENT_MODEL", "parasail/kimi-k26")