Continue

Use Foza models with the Continue VS Code / JetBrains extension

Setup#

Continue can use Foza for chat, edit, and autocomplete models. Start with chat first, then add autocomplete once the basic connection works.

1

Install Continue

Install the Continue extension from the VS Code Marketplace or JetBrains Marketplace.

2

Open configuration

Open the Continue config file at ~/.continue/config.yaml (or use the Continue sidebar → gear icon).

3

Add Foza as a provider

Add the following to your config.yaml:

models:
  - name: Foza
    provider: openai
    model: anthropic/claude-sonnet-4.6
    apiBase: https://api.foza.ai/v1
    apiKey: sk-foza-xxxxx

You can add multiple models with different slugs.

4

Optional: use an environment variable

To avoid storing the key in plain text, set:

export FOZA_API_KEY=sk-foza-xxxxx

Then reference it from your Continue config if your Continue version supports environment interpolation.

5

Select the model

Open Continue and select the Foza model from the model dropdown.

6

Test chat and edit separately

First ask Continue to explain a file. Then select a small function and use an edit command. This makes it easier to tell whether chat works but edit/autocomplete needs separate tuning.

Multiple Foza models#

models:
  - name: Foza Claude
    provider: openai
    model: anthropic/claude-sonnet-4.6
    apiBase: https://api.foza.ai/v1
    apiKey: sk-foza-xxxxx
  - name: Foza GPT-4o
    provider: openai
    model: openai/gpt-4o
    apiBase: https://api.foza.ai/v1
    apiKey: sk-foza-xxxxx

Continue supports both chat and autocomplete. You can configure different Foza models for each feature.