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