apply
role is used to generate a more precise diff to apply changes to a file.
Recommended Apply models
For the latest Apply model recommendations, see our comprehensive model recommendations.
Explore all apply models in the
Hub
Prompt templating
You can customize the prompt template used for applying code changes by setting thepromptTemplates.apply
property in your model configuration. Continue uses Handlebars syntax for templating.
Available variables for the apply template:
{{{original_code}}}
- The original code before changes{{{new_code}}}
- The new code after changes