spawn/shared
A b603e05043
fix: remove duplicate API key + model selection in spawn_agent() (#1462)
Steps 3-4 (get_or_prompt_api_key and model selection) were executed
twice in spawn_agent() -- once before provisioning and once after.
This caused redundant HTTP validation calls to openrouter.ai/api for
every agent deployment (~130+ scripts use spawn_agent). The duplicate
step numbering in comments (3,4,5 then 4,5,6) confirms this was
accidental.

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-19 06:23:55 -05:00
..
common.sh fix: remove duplicate API key + model selection in spawn_agent() (#1462) 2026-02-19 06:23:55 -05:00
github-auth.sh fix: harden openclaw across all clouds (#1456) 2026-02-19 09:25:48 +00:00
key-request.sh security: prevent command injection in key-request.sh env var loading (#1415) 2026-02-17 13:53:49 -05:00