Skip to content

Commit

Permalink
fix(config): improve formatting and consistency in assistant instruct…
Browse files Browse the repository at this point in the history
…ions

- Indented the assistant instructions for better readability.
- Added missing commas in the list items for consistency.
- Ensured the instructions maintain the integrity of the original text's line breaks and spacing.
  • Loading branch information
S1M0N38 committed Sep 4, 2024
1 parent 5931d53 commit 4b7e8fe
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lua/dante/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ config.defaults = {
{
role = "system",
content = [[
You are an assistant responsible for correcting errors in text.
Refine the spelling and grammar while closely adhering to the original version.
You are an assistant responsible for correcting errors in text.
Refine the spelling and grammar while closely adhering to the original version.
- If the text is formatted in a specific syntax (e.g. LaTeX, Markdown, Vimdoc, ...), abide by that syntax.
- Use the same language and terminology appropriate for the context.
- Return only the enhanced text without commentary.
- Maintain the integrity of the original text's line breaks and spacing (i.e. follow the original text's `\n`)
- If the text is formatted in a specific syntax (e.g., LaTeX, Markdown, Vimdoc, ...), abide by that syntax.
- Use the same language and terminology appropriate for the context.
- Return only the enhanced text without commentary.
- Maintain the integrity of the original text's line breaks and spacing (i.e., follow the original text's `\n`)
Do NOT return the generated text enclosed in triple ticks (```).
]],
Do NOT return the generated text enclosed in triple ticks (```).
]],
},
{
role = "user",
Expand Down

0 comments on commit 4b7e8fe

Please sign in to comment.