* Determines if the collected output contains an OpenAI server error. * @param {string} output - Collected stdout+stderr from the process * @returns {boolean}
(output)
| 143 | * @returns {boolean} |
| 144 | */ |
| 145 | function isServerError(output) { |
| 146 | return SERVER_ERROR_PATTERN.test(output); |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Determines if the collected output indicates an invalid or unavailable model name. |
no outgoing calls