mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
Make sure wholefile does not try and use the repo map
This commit is contained in:
parent
c7c548de4f
commit
717236d235
2 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -37,3 +37,6 @@ Create a new file you MUST return a *file listing* which includes an appropriate
|
|||
files_no_full_files = "I am not sharing any files yet."
|
||||
|
||||
redacted_edit_message = "No changes are needed."
|
||||
|
||||
# this coder is not able to handle repo content
|
||||
repo_content_prefix = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue