From c7b4c22b944243d296803fcb556dccb133cb6fe4 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 5 Mar 2025 18:31:39 -0800 Subject: [PATCH] fix: Add SSL verification option for model info request --- aider/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/models.py b/aider/models.py index 68e85f6dd..1532cdb1d 100644 --- a/aider/models.py +++ b/aider/models.py @@ -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()