forked from phoenix/litellm-mirror
fix(http_handler.py): add bool check for os.getenv verif ssl value
This commit is contained in:
parent
22a0c400dd
commit
f1ce7bb300
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class HTTPHandler:
|
||||||
http_proxy = os.getenv("HTTP_PROXY", None)
|
http_proxy = os.getenv("HTTP_PROXY", None)
|
||||||
https_proxy = os.getenv("HTTPS_PROXY", None)
|
https_proxy = os.getenv("HTTPS_PROXY", None)
|
||||||
no_proxy = os.getenv("NO_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
|
sync_proxy_mounts = None
|
||||||
if http_proxy is not None and https_proxy is not None:
|
if http_proxy is not None and https_proxy is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue