MCPcopy Create free account
hub / github.com/github/gh-aw / isServerError

Function isServerError

actions/setup/js/codex_harness.cjs:145–147  ·  view source on GitHub ↗

* Determines if the collected output contains an OpenAI server error. * @param {string} output - Collected stdout+stderr from the process * @returns {boolean}

(output)

Source from the content-addressed store, hash-verified

143 * @returns {boolean}
144 */
145function 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.

Callers 3

mainFunction · 0.85
shouldRetryFunction · 0.85

Calls

no outgoing calls

Tested by 1

shouldRetryFunction · 0.68