Initialize the rotation lock to allow requests.
(cls)
| 92 | |
| 93 | @classmethod |
| 94 | def init_rotation_lock(cls): |
| 95 | """Initialize the rotation lock to allow requests.""" |
| 96 | cls.AUTH_ROTATION_LOCK.set() |
| 97 | logger.info("🔐 Global Auth Rotation Lock initialized (OPEN).") |
| 98 | |
| 99 | @classmethod |
| 100 | def set_quota_exceeded(cls, message: str = "", model_id: Optional[str] = None): |