From 4a1e252bfcd55551fd0ee4ebb2bd33f65740d256 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 30 May 2023 14:25:55 -0700 Subject: [PATCH] noop --- aider/repomap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/repomap.py b/aider/repomap.py index f6f3cadb6..64051aad3 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -99,7 +99,8 @@ class RepoMap: if self.use_ctags: files_listing = self.get_tags_map(other_files) - if self.token_count(files_listing) < max_map_tokens: + tokens = self.token_count(files_listing) + if tokens < max_map_tokens: ctags_msg = " with selected ctags info" return files_listing, ctags_msg