Intro to Roles
Models in Continue can be configured to be used for various roles in the extension.
chat
: Used for chat conversations in the extension sidebarautocomplete
: Used for autocomplete code suggestions in the editoredit
: Used to generate code based on edit promptsapply
: Used to decide how to apply edits to a fileembed
: Used to generate embeddings used for vector search (@Codebase and @Docs context providers)rerank
: Used to rerank results from vector search
These roles can be specified for a config.yaml
model block using roles
. See the YAML Specification for more details.
Selecting model roles
You can control which of the models in your assistant for a given role will be currently used for that role. Visit the Settings page and go to the Active Models section.
info
Note that roles
do not exist within config.json
- they are infered by the top level keys like embeddingsProvider