fix --map-refresh=manual

This commit is contained in:
Paul Gauthier 2024-09-03 15:28:08 -07:00
parent d8c78cf8cd
commit 75de2989f8

View file

@ -447,6 +447,7 @@ class RepoMap:
max_map_tokens,
)
use_cache = False
if not force_refresh:
if self.refresh == "manual" and self.last_map:
return self.last_map