mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 08:10:48 +00:00
Add a centralized `render_api` function that delegates to `generic_cloud_api`, giving Render the same automatic retry logic (429/503/network errors with exponential backoff) that all other providers already have. - `_render_create_service`: raw curl POST -> `render_api POST` - `_render_wait_for_service`: raw curl GET -> `render_api GET` + `_extract_json_field` - `cleanup_server`: raw curl DELETE -> `render_api DELETE` Also improves the wait loop with `INSTANCE_STATUS_POLL_DELAY` support and better timeout messaging matching the standard provider pattern. 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 | ||