Back to Continue

Relace

docs/customize/model-providers/more/relace.mdx

1.5.45960 B
Original Source

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. Then, change your configuration file to look like this:

<Tabs> <Tab title="YAML"> ```yaml title="Package or config.yaml" models: - name: Relace Fast Apply provider: relace model: Fast-Apply apiKey: <YOUR_RELACE_API_KEY> roles: - apply promptTemplates: apply: "{{{ new_code }}}" ``` </Tab> <Tab title="JSON"> ```json title="config.json" { "models": [ { "title": "Relace Fast Apply", "provider": "relace", "model": "Fast-Apply", "apiKey": "<YOUR_RELACE_API_KEY>" } ] } ``` </Tab> </Tabs>

View the source