summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-19 20:11:45 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-19 20:11:45 -0700
commit20b4b2aa87beac8a31bd33b981fcdd5cd4638a4e (patch)
treee6852ab2868b5aa825e04e819778246db8b05008
parenta1a60ba990ab36704ce9a7b9a710b051f4b6ce96 (diff)
downloadsncontinue-20b4b2aa87beac8a31bd33b981fcdd5cd4638a4e.tar.gz
sncontinue-20b4b2aa87beac8a31bd33b981fcdd5cd4638a4e.tar.bz2
sncontinue-20b4b2aa87beac8a31bd33b981fcdd5cd4638a4e.zip
no nested tags in completion
-rw-r--r--continuedev/src/continuedev/steps/core/core.py3
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 = []