Skip to main content

Connect Continue

Use Continue's openai adapter for Chat with a model publishing Chat Completions support. Choose its exact ID in Continue Setup.

Install and configure​

Install the Continue extension for your editor using its official installation guide. Open Continue's local configuration from its configuration selector/settings. Merge this entry into ~/.continue/config.yaml; keep your other models and rules.

YAML
name: Primex
version: 1.0.0
schema: v1
models:
- name: Primex Chat
provider: openai
model: YOUR_LIVE_CHAT_MODEL
apiBase: https://gateway.primexos.com/v1
apiKey: YOUR_API_KEY
roles: [chat]

Replace the placeholders locally. Keep this key-bearing file private and out of source control. For shared configurations, use Continue's documented secrets mechanism rather than sharing a filled-in apiKey. The configuration reference describes current YAML fields and roles.

This entry explicitly enables only Chat. Do not add autocomplete or tool_use capabilities just to make an unavailable feature appear. Agent mode requires model tool support and a completed client tool-result workflow; edit/apply, embeddings, reranking, and autocomplete need their own model/operation checks.

Verify​

Select Primex Chat in Continue, open Chat, and send a short text prompt. Expect a text answer and a matching request in Usage. Run this before adding workspace context, images, tools, or other roles. Files and context that Continue includes become request inputs; use material you are authorized to send.

Common fixes and removal​

  • Config does not load: check YAML indentation and the required name, version, and schema fields. Merge an entry instead of overwriting an existing config.
  • 401: replace the local key placeholder with an active Primex key.
  • 404: use the /v1 base and exact ID from Setup; the adapter appends /chat/completions.
  • Agent/autocomplete unavailable: the Chat-only entry does not enable those workflows.
  • 402/429 or a timeout: inspect Errors & limits and Usage before retrying; repeated requests can have independent charges.

Remove the Primex model entry to disconnect and revoke any unused dedicated key.

Need help connecting? Report a setup issue.