mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
style: Fix formatting in aider/models.py
This commit is contained in:
parent
bd30ae936c
commit
225cb93b05
1 changed files with 1 additions and 0 deletions
|
@ -454,6 +454,7 @@ class Model(ModelSettings):
|
|||
try:
|
||||
# First, attempt to fetch from GitHub
|
||||
import requests
|
||||
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue