mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
cleanup
This commit is contained in:
parent
ba7656bc1c
commit
2817766cf5
1 changed files with 11 additions and 13 deletions
|
@ -638,7 +638,6 @@ class ModelInfoManager:
|
||||||
"model_prices_and_context_window.json"
|
"model_prices_and_context_window.json"
|
||||||
)
|
)
|
||||||
CACHE_TTL = 60 * 60 * 24 # 24 hours
|
CACHE_TTL = 60 * 60 * 24 # 24 hours
|
||||||
content = None
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.cache_dir = Path.home() / ".aider" / "caches"
|
self.cache_dir = Path.home() / ".aider" / "caches"
|
||||||
|
@ -657,7 +656,6 @@ class ModelInfoManager:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def _update_cache(self):
|
def _update_cache(self):
|
||||||
if not litellm._lazy_module:
|
|
||||||
try:
|
try:
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue