mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
fix: move dict init into __init__
This commit is contained in:
parent
f64cdfa72a
commit
4e5e9b4a1a
2 changed files with 3 additions and 9 deletions
|
@ -33,8 +33,6 @@ class RepoMap:
|
|||
|
||||
warned_files = set()
|
||||
|
||||
tokens_per_char = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
map_tokens=1024,
|
||||
|
@ -87,9 +85,6 @@ class RepoMap:
|
|||
if not mentioned_idents:
|
||||
mentioned_idents = set()
|
||||
|
||||
# reset the estimate
|
||||
self.tokens_per_char = None
|
||||
|
||||
max_map_tokens = self.max_map_tokens
|
||||
|
||||
# With no files in the chat, give a bigger view of the entire repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue