(text: string)
| 30 | * Check if a message is a rate limit error |
| 31 | */ |
| 32 | export function isRateLimitErrorMessage(text: string): boolean { |
| 33 | return RATE_LIMIT_ERROR_PREFIXES.some(prefix => text.startsWith(prefix)) |
| 34 | } |
| 35 | |
| 36 | export type RateLimitMessage = { |
| 37 | message: string |
no outgoing calls
no test coverage detected