feat: Add map_refresh parameter to Coder and pass it to RepoMap

This commit is contained in:
Paul Gauthier (aider) 2024-08-17 06:36:21 -07:00
parent 17335b1865
commit f9ed868076
2 changed files with 3 additions and 0 deletions

View file

@ -255,6 +255,7 @@ class Coder:
commands=None,
summarizer=None,
total_cost=0.0,
map_refresh="auto",
):
self.commit_before_message = []
self.aider_commit_hashes = set()
@ -384,6 +385,7 @@ class Coder:
self.verbose,
max_inp_tokens,
map_mul_no_files=map_mul_no_files,
refresh=map_refresh,
)
self.summarizer = summarizer or ChatSummary(