@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
7 lines • 470 B
TypeScript
/**
* A few words naming why a provider request failed ("429 rate limited", "502 bad gateway"), read from the
* raw error text a gateway returns, so the retry status and the final notice never carry the raw body
* (a JSON envelope or an HTML error page, senpi#6012). Undefined when the text names no known cause.
*/
export declare function providerErrorReason(errorMessage: string | undefined): string | undefined;
//# sourceMappingURL=provider-error-reason.d.ts.map