summaryrefslogtreecommitdiffhomepage
path: root/dispatch.toml
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.toml')
-rw-r--r--dispatch.toml14
1 files changed, 4 insertions, 10 deletions
diff --git a/dispatch.toml b/dispatch.toml
index 7e6fa5a..6789e95 100644
--- a/dispatch.toml
+++ b/dispatch.toml
@@ -1,11 +1,8 @@
# Dispatch — Model & Key Configuration
-# Keys reference env var names in .env.dispatch
+# Credentials and API keys are stored in the SQLite database.
+# Use the Model Status panel to import credentials, or run bin/import-credentials.ts.
# ─── Fallback Order (highest priority first) ────────────────────
-# Exhaust claude-max first, then opencode-1, then opencode-2, then copilot.
-# When all keys are exhausted the agent enters wait-for-refresh.
-# Must be declared BEFORE any [[keys]] / [[models]] blocks.
-
fallback = ["claude-pro", "claude-max", "opencode-1", "opencode-2", "copilot"]
# ─── API Keys ───────────────────────────────────────────────────
@@ -14,30 +11,27 @@ fallback = ["claude-pro", "claude-max", "opencode-1", "opencode-2", "copilot"]
id = "claude-pro"
provider = "anthropic"
base_url = "https://api.anthropic.com/v1"
-credentials_file = "/root/.claude/.credentials-1.json"
+credentials_file = "/home/tradam/.claude/.credentials-1.json"
[[keys]]
id = "claude-max"
provider = "anthropic"
base_url = "https://api.anthropic.com/v1"
-credentials_file = "/root/.claude/.credentials-2.json"
+credentials_file = "/home/tradam/.claude/.credentials-2.json"
[[keys]]
id = "opencode-1"
provider = "opencode-go"
-env = "OPENCODE_KEY_1"
base_url = "https://opencode.ai/zen/go/v1"
[[keys]]
id = "opencode-2"
provider = "opencode-go"
-env = "OPENCODE_KEY_2"
base_url = "https://opencode.ai/zen/go/v1"
[[keys]]
id = "copilot"
provider = "github-copilot"
-env = "COPILOT_TOKEN"
base_url = "https://api.githubcopilot.com"
# ─── Models ─────────────────────────────────────────────────────