VS Code
Use APIClaw with VS Code through Continue, GitHub Copilot Chat custom endpoints, or dedicated extensions.
Prerequisites
- Create an API key in the API Keys dashboard.
- Copy a full model ID from the model hub.
Option A: Continue (recommended)
Install Continue from the marketplace, then edit ~/.continue/config.yaml (Windows: %USERPROFILE%\.continue\config.yaml):
name: APIClaw config
version: 1.0.0
schema: v1
models:
- name: APIClaw
provider: openai
model: YOUR_MODEL_ID
apiBase: https://apiclaw.biz/v1
apiKey: sk-your-apiclaw-key
capabilities:
- tool_use
- image_input
roles:
- chat
- editcapabilities overrides Continue's autodetection, which keys off model names it recognises; tool_use is what Agent mode needs, and add apply to roles if Edit does nothing.
Continue's IDE extensions cannot read shell environment variables. Put the key in ~/.continue/.env as APICLAW_API_KEY=sk-your-apiclaw-key, reference it as apiKey: ${{ secrets.APICLAW_API_KEY }}, and restart the IDE afterwards.
Option B: GitHub Copilot Chat custom endpoint
- Open Manage Language Models from the model picker's gear icon, or run Chat: Manage Language Models from the Command Palette.
- Choose the Custom Endpoint provider. (The older "OpenAI Compatible" provider is deprecated.)
- Paste the full URL including the path:
https://apiclaw.biz/v1/chat/completions| Setting | Value |
|---|---|
| URL | https://apiclaw.biz/v1/chat/completions |
| API type | Chat Completions (or Responses with https://apiclaw.biz/v1/responses) |
| API Key | Your APIClaw API key |
| Model | Full model ID from the model hub |
Bring-your-own-key is enabled by default on Copilot Business and Enterprise, though an admin can switch it off by policy. It covers chat and agent mode, not inline completions or embeddings, which stay on your Copilot plan.
Option C: Dedicated extensions
For Claude Code, Kilo Code, or Cline, follow those guides instead.
Verify
Send a test prompt from the chosen extension, then confirm logs.