Skip to content

Commit 63af393

Browse files
committed
fix: Improve CEDARScriptEditorException error message format
1 parent 0eb5331 commit 63af393

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cedarscript_editor/cedarscript_editor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ def __init__(self, command_ordinal: int, description: str):
5757
"\n<suggestion>Reflect about common mistakes when using CEDARScript. Now relax, take a deep breath, "
5858
"think step-by-step and write an in-depth analysis of what went wrong (specifying which command ordinal "
5959
"failed), then acknowledge which commands were already applied and concisely describe the state at which "
60-
"the file was left (saying what needs to be done now). Write all that in the format "
61-
"<reasoning>...Chain of thoughts and reasoning here...<reasoning>\\n<verdict>...distilled analysis here...</verdict>; "
60+
"the file was left (saying what needs to be done now). Write all that inside these 2 tags "
61+
"(<reasoning>...Chain of thoughts and reasoning here...</reasoning>\\n<verdict>...distilled analysis "\
62+
"here...</verdict>); "
6263
"Then write new commands that will fix the problem"
6364
f"{previous_cmd_notes} (you'll get a one-million dollar tip if you get it right!) "
6465
"Use descriptive comment before each command; If showing CEDARScript commands to the user, "

0 commit comments

Comments
 (0)