* Determines if the collected output indicates OpenAI token-per-minute exhaustion. * This limit is workload-dependent and immediate fresh-run retries can consume * additional budget without making progress. * @param {string} output - Collected stdout+stderr from the process * @returns {boolean}
(output)
| 115 | * @returns {boolean} |
| 116 | */ |
| 117 | function isTokenPerMinuteRateLimitError(output) { |
| 118 | return TOKEN_PER_MIN_RATE_LIMIT_PATTERN.test(output); |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Determines if the collected output contains an authentication failed error. |
no outgoing calls