mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
bugfix
This commit is contained in:
parent
676dcd8fd1
commit
95cb482938
1 changed files with 6 additions and 5 deletions
|
@ -108,11 +108,12 @@ class RepoMap:
|
||||||
|
|
||||||
if self.has_ctags:
|
if self.has_ctags:
|
||||||
files_listing = self.get_ranked_tags_map(chat_files, other_files)
|
files_listing = self.get_ranked_tags_map(chat_files, other_files)
|
||||||
num_tokens = self.token_count(files_listing)
|
if files_listing:
|
||||||
if self.io:
|
num_tokens = self.token_count(files_listing)
|
||||||
self.io.tool_output(f"ctags map: {num_tokens/1024:.1f} k-tokens")
|
if self.io:
|
||||||
ctags_msg = " with selected ctags info"
|
self.io.tool_output(f"ctags map: {num_tokens/1024:.1f} k-tokens")
|
||||||
return files_listing, ctags_msg
|
ctags_msg = " with selected ctags info"
|
||||||
|
return files_listing, ctags_msg
|
||||||
|
|
||||||
files_listing = self.get_simple_files_map(other_files)
|
files_listing = self.get_simple_files_map(other_files)
|
||||||
ctags_msg = ""
|
ctags_msg = ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue