From fcdd640a0970e4216057fa8fb8433c7e2271ca05 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 25 Jul 2023 07:04:14 -0300 Subject: [PATCH 1/2] Strong prompt to never elide code --- aider/coders/wholefile_prompts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/coders/wholefile_prompts.py b/aider/coders/wholefile_prompts.py index 68882f66f..53aa2a60c 100644 --- a/aider/coders/wholefile_prompts.py +++ b/aider/coders/wholefile_prompts.py @@ -30,6 +30,7 @@ Every *file listing* MUST use this format: - Final line: closing {fence[1]} To suggest changes to a file you MUST return a *file listing* that contains the entire content of the file. +*NEVER* skip, omit or elide content from a *file listing* using "..." or by adding comments like "... rest of code..."! Create a new file you MUST return a *file listing* which includes an appropriate filename, including any appropriate path. """ From b849d16ec78fd975e2f1ffa8fbe411de6e618d1a Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 25 Jul 2023 07:22:22 -0300 Subject: [PATCH 2/2] Updated HISTORY --- HISTORY.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 39f2f9146..6b78be2be 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,9 @@ # Release history +### main branch on github + +- Stronger GPT-3.5 prompt against skipping/eliding code in replies (51.9% benchmark, no regression) + ### v0.10.1 - /add and /drop always use paths relative to the git root