Make sure wholefile does not try and use the repo map

This commit is contained in:
Paul Gauthier 2023-07-01 13:47:37 -07:00
parent c7c548de4f
commit 717236d235
2 changed files with 4 additions and 1 deletions

View file

@ -163,7 +163,7 @@ class Coder:
self.io.tool_output("Git repo: none")
self.find_common_root()
if main_model.use_repo_map and self.repo:
if main_model.use_repo_map and self.repo and self.gpt_prompts.repo_content_prefix:
rm_io = io if self.verbose else None
self.repo_map = RepoMap(
map_tokens,