mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
feat: Update test_model_metadata_file to reset local model metadata
This commit is contained in:
parent
315ad06ecc
commit
0c3470bab2
1 changed files with 2 additions and 1 deletions
|
@ -522,7 +522,8 @@ class TestMain(TestCase):
|
|||
os.unlink(external_file_path)
|
||||
|
||||
def test_model_metadata_file(self):
|
||||
# reset the models.model_info_manager ai!
|
||||
from aider.models import model_info_manager
|
||||
model_info_manager.local_model_metadata = {}
|
||||
with GitTemporaryDirectory():
|
||||
metadata_file = Path(".aider.model.metadata.json")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue