mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
stronger code base switch prompt
This commit is contained in:
parent
1403d19aa7
commit
862c0dd0d7
1 changed files with 7 additions and 1 deletions
|
@ -538,7 +538,13 @@ class Coder:
|
|||
)
|
||||
if self.gpt_prompts.example_messages:
|
||||
messages += [
|
||||
dict(role="user", content="I switched to a new code base."),
|
||||
dict(
|
||||
role="user",
|
||||
content=(
|
||||
"I switched to a new code base. Please don't consider the above files or"
|
||||
" try to edit them any longer."
|
||||
),
|
||||
),
|
||||
dict(role="assistant", content="Ok."),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue