mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
cleanup
This commit is contained in:
parent
f256b43043
commit
9e7f2ec790
2 changed files with 2 additions and 9 deletions
|
@ -415,7 +415,6 @@ class Coder:
|
|||
all_content = ""
|
||||
|
||||
repo_content = self.get_repo_map()
|
||||
|
||||
if repo_content:
|
||||
if all_content:
|
||||
all_content += "\n"
|
||||
|
|
|
@ -69,8 +69,6 @@ class RepoMap:
|
|||
self.max_map_tokens = 0
|
||||
return
|
||||
|
||||
dump(chat_files, other_files)
|
||||
dump(files_listing)
|
||||
if not files_listing:
|
||||
return
|
||||
|
||||
|
@ -90,7 +88,6 @@ class RepoMap:
|
|||
|
||||
repo_content += files_listing
|
||||
|
||||
dump(repo_content)
|
||||
return repo_content
|
||||
|
||||
def get_rel_fname(self, fname):
|
||||
|
@ -262,8 +259,8 @@ class RepoMap:
|
|||
references[tag.name].append(rel_fname)
|
||||
|
||||
##
|
||||
dump(defines)
|
||||
dump(references)
|
||||
# dump(defines)
|
||||
# dump(references)
|
||||
|
||||
if not references:
|
||||
references = dict((k, list(v)) for k, v in defines.items())
|
||||
|
@ -291,7 +288,6 @@ class RepoMap:
|
|||
try:
|
||||
ranked = nx.pagerank(G, weight="weight", **pers_args)
|
||||
except ZeroDivisionError:
|
||||
dump(ZeroDivisionError)
|
||||
return []
|
||||
|
||||
# distribute the rank from each source node, across all of its out edges
|
||||
|
@ -339,8 +335,6 @@ class RepoMap:
|
|||
ranked_tags = self.get_ranked_tags(chat_fnames, other_fnames)
|
||||
num_tags = len(ranked_tags)
|
||||
|
||||
dump(num_tags)
|
||||
|
||||
lower_bound = 0
|
||||
upper_bound = num_tags
|
||||
best_tree = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue