| 1 | --- |
| 2 | title: "Relace" |
| 3 | description: "Configure Relace with Continue to access their Fast Apply model, which helps you quickly and reliably apply chat suggestions to your codebase" |
| 4 | --- |
| 5 | |
| 6 | Relace provides a fast apply model through their API that helps you reliably and almost instantly apply chat suggestions to your codebase. You can sign up and obtain an API key [here](https://app.relace.ai/settings/api-keys). Then, change your configuration file to look like this: |
| 7 | |
| 8 | <Tabs> |
| 9 | <Tab title="YAML"> |
| 10 | ```yaml title="Package or config.yaml" |
| 11 | models: |
| 12 | - name: Relace Fast Apply |
| 13 | provider: relace |
| 14 | model: Fast-Apply |
| 15 | apiKey: <YOUR_RELACE_API_KEY> |
| 16 | roles: |
| 17 | - apply |
| 18 | promptTemplates: |
| 19 | apply: "{{{ new_code }}}" |
| 20 | ``` |
| 21 | </Tab> |
| 22 | <Tab title="JSON"> |
| 23 | ```json title="config.json" |
| 24 | { |
| 25 | "models": [ |
| 26 | { |
| 27 | "title": "Relace Fast Apply", |
| 28 | "provider": "relace", |
| 29 | "model": "Fast-Apply", |
| 30 | "apiKey": "<YOUR_RELACE_API_KEY>" |
| 31 | } |
| 32 | ] |
| 33 | } |
| 34 | ``` |
| 35 | </Tab> |
| 36 | </Tabs> |
| 37 | |
| 38 | [View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Relace.ts) |