Skip to content

Commit

Permalink
fix(http_handler.py): add bool check for os.getenv verif ssl value
Browse files Browse the repository at this point in the history
  • Loading branch information
krrishdholakia committed Jun 1, 2024
1 parent 22a0c40 commit f1ce7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litellm/llms/custom_httpx/http_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __init__(
http_proxy = os.getenv("HTTP_PROXY", None)
https_proxy = os.getenv("HTTPS_PROXY", None)
no_proxy = os.getenv("NO_PROXY", None)
ssl_verify = os.getenv("SSL_VERIFY", litellm.ssl_verify)
ssl_verify = bool(os.getenv("SSL_VERIFY", litellm.ssl_verify))

sync_proxy_mounts = None
if http_proxy is not None and https_proxy is not None:
Expand Down

0 comments on commit f1ce7bb

Please # to comment.