mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
prompt and token adjustments when no files in chat with repo
This commit is contained in:
parent
edc70bdf84
commit
292250db4f
3 changed files with 18 additions and 3 deletions
|
@ -446,6 +446,9 @@ class Coder:
|
|||
files_content = self.gpt_prompts.files_content_prefix
|
||||
files_content += self.get_files_content()
|
||||
files_reply = "Ok, any changes I propose will be to those files."
|
||||
elif repo_content:
|
||||
files_content = self.gpt_prompts.files_no_full_files_with_repo_map
|
||||
files_reply = "Ok, based on your requests I will suggest which files need to be edited."
|
||||
else:
|
||||
files_content = self.gpt_prompts.files_no_full_files
|
||||
files_reply = "Ok."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue