From af4b716a7425c3651e86a0aaa6186a402a991d52 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 6 Mar 2026 23:42:01 -0500 Subject: [PATCH] fix: Use absolute path for credentials.toml --- src/ai_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai_client.py b/src/ai_client.py index fbcc34e..cc3db0a 100644 --- a/src/ai_client.py +++ b/src/ai_client.py @@ -166,7 +166,7 @@ def clear_comms_log() -> None: _comms_log.clear() def get_credentials_path() -> Path: - return Path(os.environ.get("SLOP_CREDENTIALS", "credentials.toml")) + return Path(os.environ.get("SLOP_CREDENTIALS", str(Path(__file__).parent.parent / "credentials.toml"))) def _load_credentials() -> dict[str, Any]: cred_path = get_credentials_path()