diff --git a/scripts/run-profile.mjs b/scripts/run-profile.mjs index d9bdcb5..64f9a35 100644 --- a/scripts/run-profile.mjs +++ b/scripts/run-profile.mjs @@ -205,6 +205,10 @@ function buildProfileConfig({ profileName, profileEnv, existingGatewayConfig, pr "stream disconnected before completion: Concurrency limit exceeded for account, please retry later", ], ), + management_access_key: + profileEnv.CODEX_RETRY_GATEWAY_MANAGEMENT_ACCESS_KEY || + existingGatewayConfig?.management_access_key || + "", upstream_fetch_retry_attempts: profileEnv.CODEX_RETRY_GATEWAY_UPSTREAM_FETCH_RETRY_ATTEMPTS ? Number.parseInt(`${profileEnv.CODEX_RETRY_GATEWAY_UPSTREAM_FETCH_RETRY_ATTEMPTS}`, 10) : Number.parseInt(`${existingGatewayConfig?.upstream_fetch_retry_attempts || 5}`, 10),