Skip to content

Commit f1ce7bb

Browse files
fix(http_handler.py): add bool check for os.getenv verif ssl value
1 parent 22a0c40 commit f1ce7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litellm/llms/custom_httpx/http_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(
107107
http_proxy = os.getenv("HTTP_PROXY", None)
108108
https_proxy = os.getenv("HTTPS_PROXY", None)
109109
no_proxy = os.getenv("NO_PROXY", None)
110-
ssl_verify = os.getenv("SSL_VERIFY", litellm.ssl_verify)
110+
ssl_verify = bool(os.getenv("SSL_VERIFY", litellm.ssl_verify))
111111

112112
sync_proxy_mounts = None
113113
if http_proxy is not None and https_proxy is not None:

0 commit comments

Comments
 (0)