mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 03:25:59 +00:00
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:
parent
b4f5f5024e
commit
a3a6ebcf31
1 changed files with 2 additions and 2 deletions
|
@ -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}}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue