* Determines if the collected output contains the observed Copilot/CAPI quota exhaustion error. * @param {string} output - Collected stdout+stderr from the process * @returns {boolean}
(output)
| 86 | * @returns {boolean} |
| 87 | */ |
| 88 | function isCAPIQuotaExceededError(output) { |
| 89 | return CAPI_QUOTA_EXCEEDED_PATTERN.test(output); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Detect known error patterns in a log string and return detection results. |
no outgoing calls