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

# Continue

> Connect Continue to DreamTo with provider: openai and apiBase in config.yaml.

[Continue](https://docs.continue.dev) is an open-source AI coding extension for VS Code and JetBrains. Models are configured in `config.yaml`, and DreamTo can be added as an OpenAI-compatible service.

## Prerequisites

* The Continue extension installed.
* An API key created on the **API Keys** page of the [DreamTo console](https://www.dreamto.ai/console).

## Setup

**1. Open config.yaml**

Open the config from the Continue panel (usually `~/.continue/config.yaml`; on Windows, `%USERPROFILE%\.continue\config.yaml`).

**2. Add models**

```yaml ~/.continue/config.yaml theme={null}
name: My Config
version: 1.0.0
schema: v1
models:
  - name: DeepSeek V4.1 Flash (DreamTo)
    provider: openai
    model: deepseek-v4.1-flash-1017
    apiBase: https://api.dreamto.ai/v1
    apiKey: sk-xxxx
    roles:
      - chat
      - edit
      - apply
  - name: GPT-6.1 Sol (DreamTo)
    provider: openai
    model: gpt-6.2-sol
    apiBase: https://api.dreamto.ai/v1
    apiKey: sk-xxxx
```

* `provider: openai` means the OpenAI-compatible protocol; `apiBase` must include `/v1`.
* Set `model` to a model ID from the [Model Marketplace](https://www.dreamto.ai/models).
* To keep the key out of the file, use Continue's secrets feature (e.g. `apiKey: ${{ secrets.DREAMTO_API_KEY }}`).

**3. Verify**

Save, select the new model from the model dropdown in the Continue chat, and send a test message.

## Notes

* For GPT reasoning models, Continue may switch to OpenAI's `/responses` endpoint by default. DreamTo supports Responses too; if you want everything to go through Chat Completions, set `useResponsesApi: false` on that model.
* Leave `useLegacyCompletionsEndpoint` at its default (off) so Continue uses the `/chat/completions` endpoint.

## FAQ

> [accordion] 401
>
> Check that `apiKey` is correct. If you use secrets, make sure the variable name matches.

> [accordion] 404 / model not found
>
> Set `apiBase` to `https://api.dreamto.ai/v1` without `/chat/completions`, and make sure `model` exactly matches the Model Marketplace.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.