Skip to main content
Discover Ask Sage models here
You can get an API key from the Ask Sage.

Overview

Ask Sage provides secure, government-compliant access to LLMs. This guide explains how to set up and configure Ask Sage models, including support for DoD certificates.

1. Prerequisites

2. Configuration

Add your Ask Sage model to your Continue configuration file, which is located at ~/.continue/config.yaml. If it does not exist, create it.
config.yaml
name: My Config
version: 0.0.1
schema: v1

models:
  - name: GPT-4 gov
    provider: askSage
    model: gpt4-gov
    apiBase: https://api.asksage.ai/server/
    apiKey: <YOUR_ASK_SAGE_API_KEY>

3. Using DoD Certificates

For secure environments, specify your DoD CA bundle path:
config.yaml
name: My Config
version: 0.0.1
schema: v1

models:
  - name: GPT-4 gov
    provider: askSage
    model: gpt4-gov
    apiBase: https://api.asksage.ai/server/
    apiKey: <YOUR_ASK_SAGE_API_KEY>
    requestOptions:
      caBundlePath: /path/to/dod/certificates
Replace /path/to/dod/certificates with your actual CA bundle file path.

4. Final Steps

  • Save your configuration file.
  • Restart Continue to apply changes.
Your Ask Sage model will now be available in Continue.

5. Usage

Supported features:
  • Chat: Interact and iterate on code in the sidebar.
  • Edit: Modify code in place.

6. Support


Setting up Continue CLI

  1. Install Continue CLI Follow the steps from the official Continue docs.
  2. Setting up a custom config for Ask Sage Follow the steps in step 2 of the Overview above 👆.
  3. How to use Continue CLI Use Continue’s official guide.
  • Once the editor appears in the terminal, type “/config”, and select the config created in step 2.