(error: APIError)
| 135 | * Check if this is a mock 429 error that shouldn't be retried |
| 136 | */ |
| 137 | export function isMockRateLimitError(error: APIError): boolean { |
| 138 | return shouldProcessMockLimits() && error.status === 429 |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Check if /mock-limits command is currently active (for UI purposes) |
no test coverage detected