summaryrefslogtreecommitdiffhomepage
path: root/dispatch.toml
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.toml')
-rw-r--r--dispatch.toml22
1 files changed, 20 insertions, 2 deletions
diff --git a/dispatch.toml b/dispatch.toml
index 1559578..407c7c4 100644
--- a/dispatch.toml
+++ b/dispatch.toml
@@ -2,15 +2,23 @@
# Keys reference env var names in .env.dispatch
# ─── Fallback Order (highest priority first) ────────────────────
-# Exhaust opencode-1 first, then opencode-2, then copilot.
+# 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 = ["opencode-1", "opencode-2", "copilot"]
+fallback = ["claude-max", "opencode-1", "opencode-2", "copilot"]
# ─── API Keys ───────────────────────────────────────────────────
[[keys]]
+id = "claude-max"
+provider = "anthropic"
+base_url = "https://api.anthropic.com/v1"
+# No env needed — credentials read from ~/.claude/.credentials.json
+# Optional: specify a specific credentials file for multi-account:
+# credentials_file = "/home/tradam/.claude/.credentials-2.json"
+
+[[keys]]
id = "opencode-1"
provider = "opencode-go"
env = "OPENCODE_KEY_1"
@@ -31,6 +39,16 @@ base_url = "https://api.githubcopilot.com"
# ─── Models ─────────────────────────────────────────────────────
[[models]]
+id = "claude-sonnet-4-20250514"
+provider = "anthropic"
+tags = ["heavy", "coding", "review"]
+
+[[models]]
+id = "claude-opus-4-20250514"
+provider = "anthropic"
+tags = ["heavy", "coding", "review"]
+
+[[models]]
id = "deepseek-v4-pro"
provider = "opencode-go"
tags = ["heavy", "coding"]