feat: add mentioned_fnames and mentioned_idents to cache key

This commit is contained in:
Paul Gauthier (aider) 2024-10-01 14:22:44 -07:00
parent be5012db96
commit cf1e6e65c7

View file

@ -459,6 +459,8 @@ class RepoMap:
tuple(sorted(chat_fnames)) if chat_fnames else None, tuple(sorted(chat_fnames)) if chat_fnames else None,
tuple(sorted(other_fnames)) if other_fnames else None, tuple(sorted(other_fnames)) if other_fnames else None,
max_map_tokens, max_map_tokens,
tuple(sorted(mentioned_fnames)) if mentioned_fnames else None,
tuple(sorted(mentioned_idents)) if mentioned_idents else None,
) )
use_cache = False use_cache = False