Merge pull request #5146 from continuedev/pe/apply-docs-updates

Update apply.mdx
This commit is contained in:
Nate Sesti 2025-04-14 18:16:42 -07:00 • committed by GitHub
commit 218f434c01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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