mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
No repo map if no repo
This commit is contained in:
parent
6f421ef087
commit
ae9ded4eaf
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class Coder:
|
|||
self.io.tool_output("Git repo: none")
|
||||
self.find_common_root()
|
||||
|
||||
if main_model.use_repo_map:
|
||||
if main_model.use_repo_map and self.repo:
|
||||
rm_io = io if self.verbose else None
|
||||
self.repo_map = RepoMap(
|
||||
map_tokens,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue