mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 03:35:00 +00:00
feat: Add repo-map refresh information to output
This commit is contained in:
parent
022d103a99
commit
77be2b37d3
2 changed files with 3 additions and 1 deletions
|
@ -230,7 +230,8 @@ class Coder:
|
|||
if self.repo_map:
|
||||
map_tokens = self.repo_map.max_map_tokens
|
||||
if map_tokens > 0:
|
||||
lines.append(f"Repo-map: using {map_tokens} tokens")
|
||||
refresh = self.repo_map.refresh
|
||||
lines.append(f"Repo-map: using {map_tokens} tokens, {refresh} refresh")
|
||||
max_map_tokens = 2048
|
||||
if map_tokens > max_map_tokens:
|
||||
lines.append(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue