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
This commit is contained in:
jvmncs 2024-08-16 12:31:38 -04:00 committed by GitHub
parent b4f5f5024e
commit a3a6ebcf31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -386,7 +386,7 @@ Edit text that you see surrounded with <edit_here>...</edit_here> tags. It's CRI
{{/if}}
Make no changes to the rewritten content outside these tags.
<snippet language="Rust" annotated="true">
<snippet language="{{ language_name }}" annotated="true">
{{{ rewrite_section_prefix }}}
<rewrite_this>
{{{ rewrite_section_with_edits }}}
@ -422,5 +422,5 @@ Do not include <insert_here> or <edit_here> annotations in your output. Here is
Immediately start with the following format with no remarks:
```
{{REWRITTEN_CODE}}
\{{REWRITTEN_CODE}}
```