mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Change return type of create_proxy_mount_config
Updated the return type of create_proxy_mount_config to dict.
This commit is contained in:
parent
2e42b59ffd
commit
4bbd8d0b20
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ try:
|
|||
except Exception:
|
||||
version = "0.0.0"
|
||||
|
||||
def create_proxy_mount_config() -> Optional[dict]:
|
||||
def create_proxy_mount_config() -> dict:
|
||||
"""
|
||||
Creates the configuration for using httpx with http/https proxy.
|
||||
Returns the dict with proxy options if HTTP_PROXY or/and HTTPS_PROXY environment variable is set. Using http_proxy/https_proxy as fallback.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue