mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
refactor: Add SSL verification control to ModelInfoManager
This commit is contained in:
parent
c7b4c22b94
commit
5f147242be
2 changed files with 8 additions and 2 deletions
|
@ -510,6 +510,8 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
litellm._load_litellm()
|
||||
litellm._lazy_module.client_session = httpx.Client(verify=False)
|
||||
litellm._lazy_module.aclient_session = httpx.AsyncClient(verify=False)
|
||||
# Set verify_ssl on the model_info_manager
|
||||
models.model_info_manager.set_verify_ssl(False)
|
||||
|
||||
if args.timeout:
|
||||
models.request_timeout = args.timeout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue