Botched: Need to do a higher reaosning model to fix this mess.
This commit is contained in:
@@ -15,6 +15,10 @@ _ENV_CONFIG: dict = {}
|
||||
|
||||
def _load_env_config() -> dict:
|
||||
"""Load mcp_env.toml from project root (sibling of this file or parent dir)."""
|
||||
env_path = os.environ.get("SLOP_MCP_ENV")
|
||||
if env_path and Path(env_path).exists():
|
||||
with open(env_path, "rb") as f:
|
||||
return tomllib.load(f)
|
||||
candidates = [
|
||||
Path(__file__).parent / "mcp_env.toml",
|
||||
Path(__file__).parent.parent / "mcp_env.toml",
|
||||
|
||||
Reference in New Issue
Block a user