mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 12:20:07 +00:00
When server creation fails with account-level errors (server limit reached, insufficient funds, quota exceeded), offer to switch to a different Hetzner API token and retry instead of just failing. - Add _is_hetzner_account_error() to detect account-level issues - Return exit code 2 from create_server() for account errors - cloud_provision() catches code 2, prompts "Try a different account?" - On yes: re-prompts for new API key, re-registers SSH keys, retries Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||