From cf1e6e65c7f52e9c8447f0ee2e6fba987db646ff Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 1 Oct 2024 14:22:44 -0700 Subject: [PATCH] feat: add mentioned_fnames and mentioned_idents to cache key --- aider/repomap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aider/repomap.py b/aider/repomap.py index ca4ffc69f..5b0f1391e 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -459,6 +459,8 @@ class RepoMap: tuple(sorted(chat_fnames)) if chat_fnames else None, tuple(sorted(other_fnames)) if other_fnames else None, max_map_tokens, + tuple(sorted(mentioned_fnames)) if mentioned_fnames else None, + tuple(sorted(mentioned_idents)) if mentioned_idents else None, ) use_cache = False