From 20b4b2aa87beac8a31bd33b981fcdd5cd4638a4e Mon Sep 17 00:00:00 2001 From: Nate Sesti <sestinj@gmail.com> Date: Mon, 19 Jun 2023 20:11:45 -0700 Subject: no nested tags in completion --- continuedev/src/continuedev/steps/core/core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/continuedev/src/continuedev/steps/core/core.py b/continuedev/src/continuedev/steps/core/core.py index 688542af..09f9facc 100644 --- a/continuedev/src/continuedev/steps/core/core.py +++ b/continuedev/src/continuedev/steps/core/core.py @@ -116,7 +116,7 @@ class DefaultModelEditCodeStep(Step): name: str = "Editing Code" hide = False _prompt: str = dedent("""\ - Take the file prefix and suffix into account, but only rewrite the code_to_edit as specified in the user_request. The code you write in modified_code_to_edit will replace the code between the code_to_edit tags. Do NOT preface your answer or write anything other than code. The </modified_code_to_edit> tag should be written to indicate the end of the modified code section. + Take the file prefix and suffix into account, but only rewrite the code_to_edit as specified in the user_request. The code you write in modified_code_to_edit will replace the code between the code_to_edit tags. Do NOT preface your answer or write anything other than code. The </modified_code_to_edit> tag should be written to indicate the end of the modified code section. Do not ever use nested tags. Example: @@ -285,7 +285,6 @@ class DefaultModelEditCodeStep(Step): {self.user_input} </user_request> <modified_code_to_edit> - """) lines = [] -- cgit v1.2.3-70-g09d2