Genesys Python SDK auto-refresh token issue

The docs claim genesyscloud.platformsdk handles token refresh automatically, but my script dies with a 401 after an hour. I’m just using client = PlatformClient() with set_base_url. Do I need to wrap the calls in a retry loop or is there a specific config flag for the refresh token I’m missing?