From a3a6ebcf31a95d41bccd33334016eacdb4713615 Mon Sep 17 00:00:00 2001
From: jvmncs <7891333+jvmncs@users.noreply.github.com>
Date: Fri, 16 Aug 2024 12:31:38 -0400
Subject: [PATCH] Small fixes to content generation prompt (#16359)
Fixed the output format section of the content_prompt.hbs template
getting rendered away by handlebars. Also fixed a leftover hardcoded
"Rust" in the rewrite section snippet. (follow-up to #16333)
Release Notes:
- N/A
---
assets/prompts/content_prompt.hbs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/prompts/content_prompt.hbs b/assets/prompts/content_prompt.hbs
index c78acd3ba3ec5e94496a74b500ed5a47ac8436a2..cd618a67613e54f63796b62f0b3e3386d258af19 100644
--- a/assets/prompts/content_prompt.hbs
+++ b/assets/prompts/content_prompt.hbs
@@ -386,7 +386,7 @@ Edit text that you see surrounded with ... tags. It's CRI
{{/if}}
Make no changes to the rewritten content outside these tags.
-
+
{{{ rewrite_section_prefix }}}
{{{ rewrite_section_with_edits }}}
@@ -422,5 +422,5 @@ Do not include or annotations in your output. Here is
Immediately start with the following format with no remarks:
```
-{{REWRITTEN_CODE}}
+\{{REWRITTEN_CODE}}
```