mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
fix: protect against null chat_fnames in cache key
This commit is contained in:
parent
4eb0aa1bbd
commit
78fb4ae238
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ class RepoMap:
|
||||||
):
|
):
|
||||||
# Create a cache key
|
# Create a cache key
|
||||||
cache_key = (
|
cache_key = (
|
||||||
tuple(sorted(chat_fnames)),
|
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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue