diff --git a/aider/repomap.py b/aider/repomap.py index db3a1d091..a45a7bb48 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -414,7 +414,7 @@ class RepoMap: cache_key = ( tuple(sorted(chat_fnames)), tuple(sorted(other_fnames)) if other_fnames else None, - max_map_tokens + max_map_tokens, ) # Check if the result is in the cache