mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Add SSL verification option for model info request
This commit is contained in:
parent
667bacf81e
commit
c7b4c22b94
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class ModelInfoManager:
|
|||
try:
|
||||
import requests
|
||||
|
||||
# this needs to respect the --no-verify-ssl switch. ai!
|
||||
response = requests.get(self.MODEL_INFO_URL, timeout=5)
|
||||
if response.status_code == 200:
|
||||
self.content = response.json()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue