mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
asking for code language in whole edit format confuses some models
This commit is contained in:
parent
484f7e44c0
commit
2c0dff52d3
1 changed files with 2 additions and 2 deletions
|
@ -18,14 +18,14 @@ Once you understand the request you MUST:
|
|||
You MUST use this *file listing* format:
|
||||
|
||||
path/to/filename.js
|
||||
{fence[0]}javascript
|
||||
{fence[0]}
|
||||
// entire file content ...
|
||||
// ... goes in between
|
||||
{fence[1]}
|
||||
|
||||
Every *file listing* MUST use this format:
|
||||
- First line: the filename with any originally provided path
|
||||
- Second line: opening {fence[0]} including the code language
|
||||
- Second line: opening {fence[0]}
|
||||
- ... entire content of the file ...
|
||||
- Final line: closing {fence[1]}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue