Edit model role
edit
to a model’s roles to specify that it can be used for Edit requests. If no edit models are specified, the selected chat
model is used.
promptTemplates.edit
property in your model configuration. Continue uses Handlebars syntax for templating.
Available variables for the edit template:
{{{userInput}}}
- The user’s edit request/instruction{{{language}}}
- The programming language of the code{{{codeToEdit}}}
- The code that’s being edited{{{prefix}}}
- Content before the edit area{{{suffix}}}
- Content after the edit area{{{supportsCompletions}}}
- Whether the model supports completions API{{{supportsPrefill}}}
- Whether the model supports prefill capability