mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 08:10:48 +00:00
Break down _validate_server_type_for_location (74 lines -> 29 lines) and create_server (64 lines -> 43 lines) by extracting focused helpers: - _hetzner_get_available_ids: fetch datacenter availability data - _hetzner_find_fallback_type: search for compatible alternative types - _hetzner_resolve_server_type: handle validation errors and fallback logging Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||