mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +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:
|
try:
|
||||||
# First, attempt to fetch from GitHub
|
# First, attempt to fetch from GitHub
|
||||||
import requests
|
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)
|
response = requests.get(url, timeout=5)
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue