mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Improve prompt caching and repo map refresh logic
This commit is contained in:
parent
f8b80548fd
commit
34dc7cc37d
5 changed files with 14 additions and 7 deletions
|
@ -530,8 +530,6 @@ class TestMain(TestCase):
|
|||
|
||||
MockRepoMap.assert_called_once()
|
||||
call_args, call_kwargs = MockRepoMap.call_args
|
||||
self.assertEqual(call_args[0], 1024) # Check the first positional argument
|
||||
self.assertEqual(call_args[1], temp_dir) # Check the second positional argument
|
||||
self.assertEqual(
|
||||
call_kwargs.get("refresh"), "files"
|
||||
) # Check the 'refresh' keyword argument
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue