mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
feat: sort tuples in get_ranked_tags_map
This commit is contained in:
parent
bcbaac03d4
commit
16defb3c8c
1 changed files with 4 additions and 4 deletions
|
@ -415,11 +415,11 @@ class RepoMap:
|
||||||
):
|
):
|
||||||
# Check if the arguments match the last call
|
# Check if the arguments match the last call
|
||||||
current_args = (
|
current_args = (
|
||||||
tuple(chat_fnames),
|
tuple(sorted(chat_fnames)),
|
||||||
tuple(other_fnames) if other_fnames else None,
|
tuple(sorted(other_fnames)) if other_fnames else None,
|
||||||
max_map_tokens,
|
max_map_tokens,
|
||||||
frozenset(mentioned_fnames) if mentioned_fnames else None,
|
frozenset(sorted(mentioned_fnames)) if mentioned_fnames else None,
|
||||||
frozenset(mentioned_idents) if mentioned_idents else None,
|
frozenset(sorted(mentioned_idents)) if mentioned_idents else None,
|
||||||
)
|
)
|
||||||
|
|
||||||
if current_args == self._last_ranked_tags_map_args:
|
if current_args == self._last_ranked_tags_map_args:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue