Elffuss BraidHub

kikocis/continue public

main · 1.5 KiBRawPermalink
1---
2title: "Intro to Roles"
3description: "Models in Continue can be configured to be used for various roles in the extension."
4sidebarTitle: "Introduction"
5icon: "book-open"
6---
7
8- [`chat`](/customize/model-roles/chat): Used for chat conversations in the extension sidebar
9- [`autocomplete`](/customize/model-roles/autocomplete): Used for autocomplete code suggestions in the editor
10- [`edit`](/customize/model-roles/edit): Used to generate code based on edit instructions
11- [`apply`](/customize/model-roles/apply): Used to decide how to apply edits to a file
12- [`embed`](/customize/model-roles/embeddings): Used to generate embeddings used for vector search (@Codebase and @Docs context providers)
13- [`rerank`](/customize/model-roles/reranking): Used to rerank results from vector search
14
15These roles can be specified for a `config.yaml` model block using `roles`. See the [YAML Specification](/reference#models) for more details.
16
17## Selecting model roles
18
19You can control which of the models in your agent for a given role will be currently used for that role. Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then you can use the dropdowns to select an active model for each role.
20
21<Frame>
22 <img src="/images/settings-model-roles-5e5f8a6bd9137b70cf94178a7e45847c.png" />
23</Frame>
24
25<Note>
26 ### INFO
27
28`roles` are not explicitly defined within `config.json` (deprecated) - they are infered by the top level keys like `embeddingsProvider`
29
30</Note>