mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
style: Remove trailing whitespaces in models.py
This commit is contained in:
parent
4bac8e2ebe
commit
f894240fbb
1 changed files with 3 additions and 3 deletions
|
@ -147,7 +147,7 @@ class ModelInfoManager:
|
|||
def _load_cache(self):
|
||||
if self._cache_loaded:
|
||||
return
|
||||
|
||||
|
||||
try:
|
||||
self.cache_dir.mkdir(parents=True, exist_ok=True)
|
||||
if self.cache_file.exists():
|
||||
|
@ -156,7 +156,7 @@ class ModelInfoManager:
|
|||
self.content = json.loads(self.cache_file.read_text())
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
||||
self._cache_loaded = True
|
||||
|
||||
def _update_cache(self):
|
||||
|
@ -186,7 +186,7 @@ class ModelInfoManager:
|
|||
|
||||
# Ensure cache is loaded before checking content
|
||||
self._load_cache()
|
||||
|
||||
|
||||
if not self.content:
|
||||
self._update_cache()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue