Rate Limiter Race Condition Under ThreadPoolExecutor Problem Statement PerplexityClient._rate_limit() (lines 150-155) uses a check-then-act pattern on self.last_request_time that is not thread-safe ...