Continue

Continue is a platform that allows you to create and operate custom AI agents directly within your development workflow, including your IDE, terminal, and CI pipelines.

1.1 Usage

Method 1: Config File (Recommended)

Add your configuration in ~/.continue/config.json or continue/config.json in your project:

{
  "models": [
    {
      "name": "Rygen API",
      "provider": "openai",
      "model": "your-model-name",
      "apiBase": "https://api.rygen.io/v1",
      "apiKey": "your-rygen-api-key"
    }
  ]
}

Method 2: Full Configuration Example

{
  "name": "Rygen API",
  "version": "0.0.1",
  "schema": "v1",
  "models": [
    {
      "name": "Rygen API",
      "provider": "openai",
      "model": "your-model-name",
      "apiBase": "https://api.rygen.io/v1",
      "apiKey": "your-rygen-api-key",
      "defaultCompletionOptions": {
        "maxTokens": 4000,
        "temperature": 0.6
      },
      "roles": ["chat", "edit", "apply", "embed"]
    }
  ],
  "context": {
    "providers": [
      { "provider": "problems" },
      { "provider": "tree" },
      { "provider": "url" },
      { "provider": "search" },
      { "provider": "folder" },
      { "provider": "codebase" },
      { "provider": "web" }
    ]
  }
}

Method 3: Multiple Roles Setup

{
  "models": [
    {
      "name": "Chat Model",
      "provider": "openai",
      "model": "your-model-name",
      "apiBase": "https://api.rygen.io/v1",
      "apiKey": "your-rygen-api-key",
      "roles": ["chat", "edit", "apply"]
    },
    {
      "name": "Autocomplete Model",
      "provider": "openai",
      "model": "your-model-name",
      "apiBase": "https://api.rygen.io/v1",
      "apiKey": "your-rygen-api-key",
      "roles": ["autocomplete"]
    },
    {
      "name": "Embedding Model",
      "provider": "openai",
      "model": "your-model-name",
      "apiBase": "https://api.rygen.io/v1",
      "apiKey": "your-rygen-api-key",
      "roles": ["embed"]
    }
  ]
}

Method 4: Legacy Completions Endpoint

For models that support /completions instead of /chat/completions:

{
  "models": [
    {
      "name": "Rygen.IO API",
      "provider": "openai",
      "model": "your-model-name",
      "apiBase": "https://api.rygen.io/v1",
      "apiKey": "your-rygen-api-key",
      "useLegacyCompletionsEndpoint": true
    }
  ]
}

1.2 Troubleshooting

IssueFix
Model not appearingDouble-check config.json structure and syntax
Chat not workingEnable useLegacyCompletionsEndpoint: true if needed

1.3 References