* Determines if the collected output indicates a missing API key at startup. * Codex exits before producing any agent output in this case, so retrying is futile. * @param {string} output - Collected stdout+stderr from the process * @returns {boolean}
(output)
| 134 | * @returns {boolean} |
| 135 | */ |
| 136 | function isMissingApiKeyError(output) { |
| 137 | return MISSING_API_KEY_PATTERN.test(output); |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Determines if the collected output contains an OpenAI server error. |
no outgoing calls