Skip to main content

Apply Role

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.

Explore apply models in the hub.