fix: Improve prompt caching and repo map refresh logic

This commit is contained in:
Paul Gauthier 2024-08-19 15:36:13 -07:00 committed by Paul Gauthier (aider)
parent f8b80548fd
commit 34dc7cc37d
5 changed files with 14 additions and 7 deletions

View file

@ -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