From 5e50adb96ffbd246fcab42ac9f3f5c1f876c1fb2 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 25 Aug 2024 07:53:03 -0700 Subject: [PATCH] fix: Split long URL into multiple lines to adhere to line length limit --- aider/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aider/models.py b/aider/models.py index 8b45df2a3..95f88270e 100644 --- a/aider/models.py +++ b/aider/models.py @@ -455,7 +455,10 @@ class Model(ModelSettings): # First, attempt to fetch from GitHub import requests - url = "https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json" + url = ( + "https://raw.githubusercontent.com/BerriAI/litellm/main/" + "model_prices_and_context_window.json" + ) response = requests.get(url, timeout=5) if response.status_code == 200: content = response.json()