Set a Custom API Base URL in Continue

In Continue’s local config.yaml, set provider: openai, apiBase: https://api.promptavenue.com/v1, and useResponsesApi: false for your PromptAvenue Uncensored model. Set the API key, restart VS Code, and select the configured model in Continue Chat. Ask what [1, 2, 3].length returns and check for 3.

Model pricing · Run the API quickstart

Markdown

  • A PromptAvenue account with API balance.
  • VS Code with the Continue extension and access to its local config.yaml.

In the PromptAvenue dashboard, open the API keys page and select Create API key. Copy the full key when it appears.

Set PROMPTAVENUE_API_KEY in ~/.continue/.env on macOS or Linux, or in %USERPROFILE%\.continue\.env on Windows. Keep this file out of version control. Replace PASTE_YOUR_KEY with your PromptAvenue key.

.env
PROMPTAVENUE_API_KEY=PASTE_YOUR_KEY

The apiBase option points Continue to the custom API endpoint. Open the active local configuration in Continue. If it already contains models, add the item under the existing models list. For a new local configuration, use this example.

YAML
name: Local PromptAvenue
version: 1.0.0
schema: v1
models:
  - name: PromptAvenue DeepSeek Flash
    provider: openai
    model: deepseek-v4.1-flash-uncensored
    apiBase: https://api.promptavenue.com/v1
    apiKey: ${{ secrets.PROMPTAVENUE_API_KEY }}
    roles:
      - chat
    useResponsesApi: false

The useResponsesApi setting keeps this model on Chat Completions. Save the files and restart VS Code so Continue can load the key.

Open a new Continue chat, select PromptAvenue DeepSeek Flash, and send the following question.

What does [1, 2, 3].length return in JavaScript? Answer in one sentence.

Expect a reply that says the result is 3.

SymptomWhat to check
Model missing from ChatCheck that Continue is using the local configuration you edited and that the model has the chat role.
Authentication errorCheck the secret name in both files and restart VS Code after saving the key.
Route or model errorCheck that apiBase ends in /v1, useResponsesApi is false, and the model ID matches the YAML example.
Balance or rate-limit errorCheck the dashboard balance if the error mentions funds. For rate limits, wait before retrying.