diff options
| author | Ben Sima <ben@bensima.com> | 2026-06-04 14:57:54 -0400 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2026-06-04 14:57:54 -0400 |
| commit | 064ac261533f146cf675af63d18c7505e1bc74b7 (patch) | |
| tree | 2cadb721122ff2fd7fde78cf534ad2e4ebed27cb | |
| parent | 4fb839645f215bd33e0f5f131dd4cd3d65a94a3e (diff) | |
Resolve prompt path from working directory
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |
