Compare commits

..

2 Commits

Author SHA1 Message Date
Ed_
af4b716a74 fix: Use absolute path for credentials.toml 2026-03-06 23:42:01 -05:00
Ed_
ae5e7dedae fix(deps): Add openai package for MiniMax provider support 2026-03-06 23:39:14 -05:00
3 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[ai]
provider = "gemini"
model = "gemini-2.5-flash-lite"
provider = "minimax"
model = "MiniMax-M2.5"
temperature = 0.0
max_tokens = 8192
history_trunc_limit = 8000

View File

@@ -8,6 +8,7 @@ dependencies = [
"imgui-bundle",
"google-genai",
"anthropic",
"openai",
"tomli-w",
"psutil>=7.2.2",
"fastapi",

View File

@@ -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()