Skip to content

Commit

Permalink
feat(client): enable follow redirects by default (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Jan 24, 2024
1 parent fdf8742 commit d325b7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/openai/_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ def __init__(
proxies=proxies,
transport=transport,
limits=limits,
follow_redirects=True,
)

def is_closed(self) -> bool:
Expand Down Expand Up @@ -1318,6 +1319,7 @@ def __init__(
proxies=proxies,
transport=transport,
limits=limits,
follow_redirects=True,
)

def is_closed(self) -> bool:
Expand Down

0 comments on commit d325b7c

Please sign in to comment.