This commit is contained in:
Paul Gauthier 2024-05-23 13:43:35 -07:00
parent fb76895eb1
commit 6345cd3734
3 changed files with 4 additions and 4 deletions

View file

@ -76,8 +76,6 @@ class RepoMap:
if not chat_files and self.max_context_window and target > 0:
max_map_tokens = target
dump(max_map_tokens)
try:
files_listing = self.get_ranked_tags_map(
chat_files, other_files, max_map_tokens, mentioned_fnames, mentioned_idents
@ -243,7 +241,7 @@ class RepoMap:
# https://networkx.org/documentation/stable/_modules/networkx/algorithms/link_analysis/pagerank_alg.html#pagerank
personalize = 10 / len(fnames)
if self.cache_missing or True:
if self.cache_missing:
fnames = tqdm(fnames)
self.cache_missing = False