Update apply.mdx

This commit is contained in:
Patrick Erichsen 2025-04-13 21:51:39 -07:00
parent 87ad955b3b
commit acaa04e024

View file

@ -10,9 +10,15 @@ import Tabs from "@theme/Tabs";
When editing code, Chat and Edit model output often doesn't clearly align with existing code. A model with the `apply` role is used to generate a more precise diff to apply changes to a file.
Generally speaking, models proficient in chat and edit can also be used for applying code.
## Recommended Apply models
Explore apply models in [the hub](https://hub.continue.dev/explore/models?roles=apply).
We recommend [Relace's Instant Apply model](https://hub.continue.dev/relace/instant-apply) for the fastest Apply experience. You can get an API key [here](https://app.relace.ai/settings/api-keys).
However, most Chat models can also be used for applying code changes. We recommend smaller/cheaper models for the task, such as Claude 3.5 Haiku.
:::info
Explore all apply models in [the Hub](https://hub.continue.dev/explore/models?roles=apply)
:::
## Prompt templating