You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#147 changed some logic in how the underlying networking client is
initialized. Some clients that set the `REPLICATE_API_TOKEN` environment
variable after importing the `replicate` package relied on that
behavior, and are now getting authentication errors (#169)
This PR restores some of the original behavior by lazily instantiating
the underlying client until the first request is made. This should
resolve the regression observed by users who were modifying the
environment after import.
---------
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
0 commit comments