diff options
| author | Adam Malczewski <[email protected]> | 2026-05-20 20:40:35 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-05-20 20:40:35 +0900 |
| commit | 8151447758e6826a578363758a755c6cebd1c05f (patch) | |
| tree | 6afa780c28ca6e4622c1ab30238665caaad4371e /dispatch.toml | |
| parent | f05099d450748cc7508f8cbde4e6539db2105f6d (diff) | |
| download | dispatch-8151447758e6826a578363758a755c6cebd1c05f.tar.gz dispatch-8151447758e6826a578363758a755c6cebd1c05f.zip | |
feat: claude max oauth support with multi-account switching, reasoning effort, and dynamic model listing
Diffstat (limited to 'dispatch.toml')
| -rw-r--r-- | dispatch.toml | 22 |
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"] |
