mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Replace hand-rolled ensure_vultr_token() and ensure_linode_token() with calls to ensure_api_token_with_provider(), matching the pattern already used by Hetzner, DigitalOcean, Lambda, E2B, and Scaleway. Extracts test_vultr_token() and test_linode_token() validation functions to preserve provider-specific error messages and remediation guidance. Removes ~70 lines of duplicated env-check/config-file/prompt/save logic. Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||