> ## Documentation Index
> Fetch the complete documentation index at: https://docs.opper.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Continue.dev

> Add Opper to Continue.dev for VS Code and JetBrains

[Continue.dev](https://continue.dev) is an open-source AI code assistant for VS Code and JetBrains. It reads its models from a YAML config, so Opper slots in as an OpenAI-compatible provider.

## Setup

Add Opper to `~/.continue/config.yaml`:

```yaml theme={null}
models:
  - name: Claude Sonnet 4.6 (Opper)
    provider: openai
    model: anthropic/claude-sonnet-4-6
    apiKey: your-opper-api-key
    apiBase: https://api.opper.ai/v3/compat
    roles:
      - chat
      - edit
```

Add one entry per model you want available. `provider: openai` selects Continue's OpenAI-compatible client; `apiBase` redirects it to Opper.

<Warning>
  `config.yaml` holds the key in plaintext. It lives in your home directory rather than a repo, but treat it like any other credential file — don't copy it into a project or commit it.
</Warning>

## Roles

Continue assigns models to roles — `chat`, `edit`, `apply`, `autocomplete`, `embed`, `rerank`. List the roles each entry should serve. A fast, cheap model is usually the right choice for `autocomplete`, and a frontier model for `chat` and `edit`.

## Troubleshooting

<AccordionGroup>
  <Accordion title="The model doesn't appear">
    Continue reloads `config.yaml` on save. If it's still missing, check the indentation — `models` is a top-level list.
  </Accordion>

  <Accordion title="401 Unauthorized">
    `apiKey` must hold your Opper key, and `apiBase` has to be set. Without `apiBase`, Continue sends the key to OpenAI.
  </Accordion>
</AccordionGroup>

## Related

<CardGroup cols={2}>
  <Card title="Model catalog" icon="list" href="/capabilities/models">
    Browse the catalog for model IDs and capabilities.
  </Card>

  <Card title="All integrations" icon="plug" href="/integrations/overview">
    Every app that runs on Opper.
  </Card>
</CardGroup>
