BEATRICE Docs
Sections

Continue

Continue is configured with a YAML file. Add Beatrice to ~/.continue/config.yaml:

name: My assistant
version: 1.0.0
schema: v1
models:
  - name: Beatrice Flash
    provider: openai
    model: beatrice-flash
    apiBase: https://api.beatriceai.it/v1
    apiKey: ${{ secrets.BEATRICE_API_KEY }}
    roles:
      - chat
      - edit
      - apply
    capabilities:
      - tool_use
    defaultCompletionOptions:
      contextLength: 262144
      maxTokens: 8192
  • provider: openai selects Continue’s OpenAI-compatible client; apiBase points it to Beatrice.
  • Don’t write the key in the file: define the BEATRICE_API_KEY secret as described in Continue’s documentation (for local files, in the .env file of the ~/.continue folder).
  • tool_use enables Agent mode.

Beatrice doesn’t offer a model for inline autocomplete: use a dedicated local model for that.

l'amor che move il sole e l'altre stelle