diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-19 20:11:45 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-19 20:11:45 -0700 |
commit | bce503162a030afbac6e33fbe31ef7ee1bd5b808 (patch) | |
tree | 95e948202b9b1b07f096e57134f1426c564b50fa /continuedev/src | |
parent | 59a35c39e54b261b964a78a2c539a8da1d6d3790 (diff) | |
download | sncontinue-bce503162a030afbac6e33fbe31ef7ee1bd5b808.tar.gz sncontinue-bce503162a030afbac6e33fbe31ef7ee1bd5b808.tar.bz2 sncontinue-bce503162a030afbac6e33fbe31ef7ee1bd5b808.zip |
no nested tags in completion
Diffstat (limited to 'continuedev/src')
-rw-r--r-- | continuedev/src/continuedev/steps/core/core.py | 3 |
1 files changed, 1 insertions, 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 = [] |