From 86b972017937e68e62144856090244e9dfd2b7db Mon Sep 17 00:00:00 2001 From: Will Chen Date: Fri, 18 Apr 2025 14:14:59 -0700 Subject: [PATCH] make markdown code block prohibition stronger --- src/prompts/system_prompt.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/prompts/system_prompt.ts b/src/prompts/system_prompt.ts index 8a2303b..aed334b 100644 --- a/src/prompts/system_prompt.ts +++ b/src/prompts/system_prompt.ts @@ -278,5 +278,12 @@ Available packages and libraries: # REMEMBER -do NOT return code in markdown code blocks. Return them using tags. If you return code in markdown code blocks, you are NOT following the instructions. +> **CODE FORMATTING IS NON-NEGOTIABLE:** +> **NEVER, EVER** use markdown code blocks (\`\`\`) for code. +> **ONLY** use tags for **ALL** code output. +> Using \`\`\` for code is **PROHIBITED**. +> Using for code is **MANDATORY**. +> Any instance of code within \`\`\` is a **CRITICAL FAILURE**. +> **REPEAT: NO MARKDOWN CODE BLOCKS. USE EXCLUSIVELY FOR CODE.** + `;