Copilot Custom Models EndpointBring any OpenAI‑compatible, Ollama, Anthropic, Gemini, or Z.AI endpoint to GitHub Copilot Chat. This extension registers a Language Model Chat Provider for GitHub Copilot Chat. It lets you add your own models — from a self‑hosted server, a cloud OpenAI‑compatible router, a local Ollama install, or the native Anthropic / Gemini / Z.AI APIs — and use them directly inside the Copilot Chat model picker, with full support for tools, vision, and reasoning/thinking output.
✨ Highlights
📦 Requirements
🚀 Install & First Run
🛠 Configuration UIThe configuration panel is a webview hosted in its own activity‑bar container. From it you can:
You can also edit everything directly through VS Code Settings under the 🔀 API ModesSet
Each mode converts messages, tools, images, and thinking blocks to the provider's native format, and reports token usage back to Copilot Chat. ⚡ Anthropic prompt cachingFor Claude (and MiniMax‑M2) models on
🚀 Anthropic fast mode
🎚️ Effort level & context size in the chat model pickerLike Copilot's own models, every custom model exposes Effort Level and Context Size right in the chat model picker — no settings edit needed:
🖼️ Smart image downscalingScreenshots and attachments whose long edge exceeds 🤖 Background subagents (
|
action |
What it does |
|---|---|
start (default) |
Start an agent (task, name — a 3–7 word title, expectedOutput, optional model, allowWrite, maxSteps; background: false waits for the report). Placeholder / test tasks are rejected. |
wait |
Block until an agent finishes or sends a message, then return the reports (ids, timeoutSeconds; 0 = only read). |
status |
Agents as a tree (status, activity, context, rounds); with id — full details and report. |
message |
Message a running agent (id, message); read at its next round. Subagents message main or each other. |
stop |
Stop an agent and its sub-agents (id or all). |
resume |
Continue a finished/stopped agent with a follow-up message — it keeps its full previous conversation. |
The same operations also exist as separate tools (#agents, #agentMessage, #waitAgents,
#stopAgent, #resumeAgent).
How reports reach the main agent when an agent finishes:
- The main agent is blocked in
#waitAgents(only when chat pausing is off, or for agents that do not post to the chat) → it wakes up at once with the report. - The main turn is still running (it is busy with other work) → a short notice is added to
its next model request (our models) until it reads the report with
#waitAgents. - The main turn has ended → after
customcopilot.subagent.autoResumeIdleMsof idle time the report is posted as a new message to the chat session that started the agent, so the main agent starts working again (customcopilot.subagent.autoResume, on by default). If that session is not the focused one, it is opened first; your unsent draft in the input box is kept. The post waits until the main turn has really ended (its last model response called no tools), so it never cancels a tool confirmation the chat is waiting for. Agents you stop yourself are not reported this way (their state stays readable in the agent list). The post shows up as a 📨 Background agent report message with each agent's report. If the chat is busy at that moment it is queued like a message you typed. If you pressed Stop in the chat (VS Code then holds your queued messages and would ask "You already have pending requests"), the report is not posted by itself — a notification offers Post report to chat instead.
Agent map. Show Agent Map (status-bar item, the Background Agents view title, or the
command palette) opens a live map like Claude Code's: each chat that started agents is a root
(title, model, tokens in context), its agents and their sub-agents branch to the right with a
status dot, duration and tokens. Agents get a readable title even when the model gives no name
(derived from the task, skipping boilerplate like "Repo …, Read AGENTS.md first"). Click an agent to
open its own details tab — status, model, duration, tokens, context and rounds (with bars),
parent / sub-agent links, report, task and the full work log (replies, every tool call with its
result, messages received, compactions; thinking on demand) — with Stop, message and
Resume right there.
The chat pauses while agents work (customcopilot.subagent.pauseChat, on by default). In the
turn that started background agents, the extension itself holds back every call that would only
wait for or poll them — wait / status, sleep / echo commands, todo updates — so the model
cannot keep the chat busy: the turn ends with a ⏸ Chat paused note listing the running agents
(a text-only answer also ends Autopilot). Real work and starting more agents still go through, and a
wait call returns at once instead of blocking. When an agent finishes, its report is posted into
the chat as a new message and the main agent continues the user's task from it. Sub-agents behave
the same way one level down: an agent whose own sub-agents are still running goes to sleep (no model
requests) and wakes up when a sub-agent's report lands in its inbox.
Agent types (subagentType, like Claude Code): general-purpose (default — research and
multi-step work, edits with allowWrite), Explore (fast read-only codebase search; say
"quick", "medium" or "very thorough" in the task) and Plan (read-only architect: a step-by-step
plan plus the critical files). Custom agents are Markdown files with YAML frontmatter in
<workspace>/.claude/agents/*.md, <workspace>/.github/agents/*.agent.md or ~/.claude/agents/*.md
— name, description (when the main agent should pick it), tools (without Edit/Write the agent is
read-only; exact VS Code tool names restrict its tools), disallowedTools, model (inherit or a
model id/name), maxTurns, isolation: worktree; the body is its system prompt. They are re-read on
change; New Custom Agent Type… (Background Agents view … menu) creates one from a template.
{"action": "types"} lists all types.
Isolated worktrees (isolation: "worktree"): the agent gets its own git worktree — a separate
working copy on branch worktree-agent-<id>-<rand> under customcopilot.subagent.worktreeDir
(default .worktrees/, added to .git/info/exclude, never to a tracked file) — so its edits never
touch your checkout; write tools are on there without the usual confirmation. Its file tools re-root
paths of your checkout into the worktree and refuse anything outside it; workspace read tools get
their paths re-rooted too; sub-agents it starts work in the same worktree. Folders listed in
customcopilot.subagent.worktreeSymlinks (e.g. node_modules) are symlinked in, git-ignored files
listed in a .worktreeinclude file (e.g. .env) are copied in. When the agent finishes, an
unchanged worktree is removed with its branch; otherwise its path, branch and change summary are
attached to the report, and the agent's details tab (or the tree view's context menu) offers Apply
to workspace (as uncommitted changes, all or nothing — it is checked first and refused if your
files changed in between; nothing is ever committed), Open in new window and Remove
worktree. While an agent works, its worktree is git worktree locked, so cleanups — including
those of other VS Code windows on the same repository — never touch it; unchanged agent worktrees
left by a previous window are cleaned up at startup. A worktree started from a sub-folder or from a
linked worktree applies back to that checkout.
Recommended prompt addition (customcopilot.recommendedPrompt, on by default — a checkbox in
Global Settings → System prompt, with a preview of the exact text). In agent mode the main chat's
system prompt is the one Copilot assembles for the model family; this adds the extension's
recommended part to it so any model works like Claude Code: read before editing, change only what
was asked, diagnose failures instead of retrying blindly, ask before destructive or shared-state
actions, dedicated tools over shell commands, independent tool calls in parallel, concise answers —
and, when the delegate tool is available, the background-agents guide: agent types, every agent
action with JSON examples, how to brief an agent like a colleague, the start → end turn → report
flow with an example, never invent an agent's result. Model-agnostic, static (prompt-cache friendly,
≈2–3k tokens), applied after the prompt override, only to requests with tools.
Prompts. Every subagent gets a real system prompt (our provider moves it into a system message): its type's prompt, access/limits, how to coordinate with other agents, notes (absolute paths, concise report, record what matters before compaction), its worktree and an environment block (folders, git branch, platform, shell, date, model). The main chat's system prompt gets a background-agents guide whenever the delegate tool is available — agent types, when (not) to delegate, how to brief an agent like a colleague, never invent an agent's result, the chat pause (part of the recommended prompt addition above).
Same tools as the chat. Agents get the workspace tools the main chat has enabled in its tool picker (MCP and extension tools follow the picker; Copilot's own read tools are always included): read/search tools (recognised by name) for every agent, all other tools only with write access. Copilot's own edit/terminal tools only work inside Copilot's agent loop, so agents use their own edit / create / terminal tools instead.
In the chat. The delegate call's line in the chat shows the agent with its type and Details · Stop · Agent map links.
Terminals and approvals. Every agent runs shell commands in its own VS Code terminal
("Agent a7 …", via shell integration), so you can watch what it executes. Read-only agents may
only use non-modifying commands. Commands need approval through a non-modal notification —
except when the chat runs in Autopilot (or VS Code's global tool auto-approve is on); see
customcopilot.subagent.autoApproveCommands (autopilot / always / never) and
customcopilot.subagent.commandsInTerminal.
Tools. Subagents get read-only workspace tools (search, read, list, diagnostics, …) by
default. With allowWrite (the user confirms when the agent is started) they also get their own
write tools: edit file (exact string replace), create file — both confined to the workspace
folders — and run command (every command is confirmed in a dialog, with a Run all from this
agent option; output and exit code are returned, with a timeout). Copilot's own edit/terminal tools
are not used by agents: they only work inside Copilot's own agent loop. Background agents run
detached from the chat request, so their tool calls don't appear in (or interrupt) your chat; any
confirmations come as dialogs. Foreground agents (background: false) run inside the live request.
The Background Agents view in
the extension's sidebar shows the agents as a tree of who started whom with status, context
usage and rounds, plus inline Stop / Resume / Details buttons. A status-bar item shows running
agents and unread reports; hover it for the same tree with Stop / Resume / Details links, or
click it / run Show Background Agents. customcopilot.subagent.maxConcurrent limits the agents
running at once.
No round limit by default (like Claude Code, where the built-in agents have no maxTurns):
an agent works until its task is done — its context is auto-compacted when it fills up. Guards
instead of a budget: a loop detector (the very same tool call 3× in a row → the agent is told to
change approach, 6× → it must write its report; waiting on its own sub-agents does not count) and a
safety cap of 500 rounds. A cap can still be set per agent (maxSteps), per custom agent type
(maxTurns in its frontmatter) or for all agents (customcopilot.subagent.maxSteps, 0 = no limit). customcopilot.subagent.model is only a fallback when the chat's model is unavailable.
Loop protection. The main chat can start at most customcopilot.subagent.maxStartsPerTurn
agents per turn (default 6), and after 3 consecutive turns started by auto-posted reports (no
message from you in between) newly started agents no longer auto-post (their reports stay readable
with {"action": "wait"}) — so a model can't fall into an endless agent → report → new agent loop. The tool descriptions tell the model when not to delegate
(trivial lookups, tests of the tool, reacting to an agent update).
Agents live in memory: reloading the window stops them.
⏰ Scheduled wake-ups & reminders
Like Claude Code's ScheduleWakeup / cron: the #schedule tool
(customcopilot_scheduleWakeup) lets the chat agent post a prompt into this chat later — once
(delaySeconds, or at "14:30" / an ISO date-time) or repeatedly (everySeconds, optional
maxRuns) — and continue from it. Typical uses: check a CI run / deploy / long build after a delay
matched to it, "remind me…", "check again in an hour", "every morning triage new issues". It is not
for waiting on background agents (their reports arrive by themselves).
- A due wake-up is posted as a ⏰ Scheduled wake-up message once the chat is idle (never in the middle of a turn); if you pressed Stop, a notification asks first (Post now / Snooze / Cancel).
- Wake-ups survive a window reload. Ones that came due while VS Code was closed are offered (Run now / Show / Dismiss); recurring ones skip the missed runs.
- See and manage them: the Scheduled view in the extension sidebar (countdowns, history, inline Run now / Cancel, Snooze / Edit in the context menu, + for a new reminder), the Schedule panel (timeline with live countdowns, Run now / +10 min / +1 hour / Edit / Cancel, history, a form to add reminders) and a status-bar clock with the next wake-up (hover: run / snooze / cancel links). In the chat, the tool call shows Run now · Cancel · Schedule links.
- Loop guards: the agent's earliest wake-up / shortest interval is
customcopilot.schedule.minDelaySeconds(60 s), at mostcustomcopilot.schedule.maxPendingpending (20), and aftercustomcopilot.schedule.maxChain(25) automatic turns in a row (wake-ups, agent reports) without a message from you it may not schedule more.customcopilot.schedule.enabledpauses firing. All of these are in Global Settings → Scheduled wake-ups.
🟦 Z.AI / GLM extras
- Show Z.AI Coding Plan Quota command: plan level, 5‑hour / weekly prompt usage and MCP quota with reset times, per stored key.
- Transient business errors inside a streamed 200 response (1302/1303/1305/1312/1234,
network_error, overloaded) are retried once before anything is shown. retry-after-ms/retry-afterhonoured up to 5 minutes,x-should-retry: falserespected, local backoff has jitter.
📏 Context windows
Anthropic /v1/models listing reads max_input_tokens (context window, e.g. 1M) and
max_tokens (output cap, e.g. 128K) plus capabilities.image_input. When an endpoint omits them
(compat gateways) — or a configured model has no context_length — known family windows are
used: Claude 4.6+ / 5.x / Fable / Mythos → 1M, older Claude → 200K, GLM per version.
👥 Multi‑Provider
owned_by (aliases: provider / provide) groups models by provider. Each provider gets its
own API key stored as the secret customcopilot.apiKey.<providerLowercase>. Use
Custom Copilot: Set API Key For Source to set them. There is no global/default API key —
every model authenticates with its provider's key.
"customcopilot.models": [
{
"id": "Qwen/Qwen3-Coder-480B-A35B-Instruct",
"owned_by": "modelscope",
"context_length": 256000,
"max_tokens": 8192
},
{
"id": "qwen3-coder",
"owned_by": "iflow",
"baseUrl": "https://apis.iflow.cn/v1",
"context_length": 256000,
"max_tokens": 8192
}
]
🔑 Multi‑Key Load Balancing & Remote Key Sources
A provider can hold multiple API keys — enter one key per line in the API Key(s) field
of the configuration UI (they are stored newline‑separated under the same
customcopilot.apiKey.<providerLowercase> secret, so a single key keeps working unchanged).
When more than one key is present, every chat request is balanced across the pool:
- Requests are spread round‑robin over the healthiest keys.
- If a key errors (rate limit, auth, network, 5xx) the request silently rotates to another key — no error is surfaced while a healthy key remains.
- Failing keys accumulate an error score and are temporarily benched once they get much worse than the others; the score decays over time so a benched key automatically rejoins.
- The Chat Generator runs in parallel across the pool, distributing load over all keys.
Alternatively, set a key source (a file path or URL returning a key list). The source is fetched fresh on every request — rotated keys are picked up automatically without reloading VS Code — and requests to the source itself also honour the proxy configuration.
When you Fetch models for a multi‑key provider, only the models available on every key are shown (the intersection), and a per‑key ✓/✗ summary reports which keys authenticated.
🧩 Multi‑Config (same model, different settings)
Use configId to register the same model id with different settings. Each entry appears
separately in the model picker as <id>::<configId>.
When you add a model through the configuration UI whose id already exists, a configId is
auto‑generated (1, 2, …) so you don't have to set it manually. Existing duplicates in
your config are migrated automatically on first launch after updating the extension.
"customcopilot.models": [
{
"id": "glm-4.6",
"configId": "thinking",
"owned_by": "zai",
"temperature": 0.7,
"thinking": { "type": "enabled" }
},
{
"id": "glm-4.6",
"configId": "no-thinking",
"owned_by": "zai",
"temperature": 0,
"thinking": { "type": "disabled" }
}
]
→ glm-4.6::thinking and glm-4.6::no-thinking both appear in Copilot Chat.
Cross‑vendor compatibility: Model ids returned to VS Code carry a
provider:index:prefix internally (e.g.zai:0:glm-4.6) so they never collide with built‑in Copilot models of the same name. The prefix is transparent — the picker shows the display name, and the API receives the bareid.
🧠 Thinking & Reasoning
Per‑model fields control chain‑of‑thought behaviour across all adapters:
enable_thinking/thinking: { "type": "enabled" | "disabled" | "adaptive" }/reasoning_effort: "none"— on/off preference, resolved in that order. Leaving all of them unset keeps the provider default (Z.AI GLM thinks by default — pick None in the effort list to turn it off).thinking_budget— token budget for reasoning (Anthropicbudget_tokens, GeminithinkingBudget).reasoning_effort— effort level, automatically clamped to each provider's supported vocabulary so an unsupported value never 400s: OpenAI‑compatible wire (minimal…max), GLM‑5.2 (high/max), GLM‑5.3 (low–max), Groq (default), Gemini 3 (thinkingLevellow/medium/high, stricter for Pro).- Safety rails: with thinking enabled, output ceilings are raised so reasoning never starves
the visible answer — Anthropic
max_tokens ≥ budget + 4096, GeminimaxOutputTokensraised to 65535 (gemini‑family models only; Gemma never receivesthinkingConfig, which its API rejects). include_reasoning_in_request— echo reasoning back in assistant history (actual thinking only; nothing is fabricated). When unset it is enabled automatically for providers that require it (DeepSeek, Kimi/Moonshot, Xiaomi MiMo) and off everywhere else (Z.AI included).
GLM / Z.AI quick reference (OpenAI‑compatible https://api.z.ai/api/paas/v4, Coding
Plan https://api.z.ai/api/coding/paas/v4, China https://open.bigmodel.cn/api/paas/v4):
| Model | thinking |
reasoning_effort |
|---|---|---|
| glm‑4.5 … glm‑5.1 | enabled / disabled (only when you set a preference) |
not sent |
| glm‑5.2 | enabled / disabled |
high, max (lower → high, xhigh → max) |
| glm‑5.3, glm‑5.3‑flash | always enabled ("off" → effort low) |
low, medium, high, max |
Context windows for GLM models are filled in automatically (e.g. glm‑4.6 200K, glm‑5.2 1M, glm‑5.3 1.28M) when the endpoint doesn't report them.
- Inline
<think>…</think>blocks emitted by OpenAI‑compatible models are detected with a chunk‑boundary‑safe streaming parser and surfaced as native thinking parts.
🧩 Skills
The Skills screen in the sidebar manages Copilot Chat skills (folders with a SKILL.md)
in ~/.copilot/skills/: search the catalogs and install, import from a URL or file, edit,
and delete. Copilot can also search/install skills itself through the extension's language
model tools (installs always ask for confirmation).
Security scan. Before anything is written, every file of the skill is scanned for data
exfiltration, prompt injection and destructive commands. The policy is set with the
🛡️ selector on the Skills screen or customcopilot.skills.safetyScan:
| Value | Behaviour |
|---|---|
block (default) |
Critical/high findings block the install or save; other findings ask for confirmation. |
warn |
Nothing is blocked; every finding asks for confirmation. |
off |
No scan at all (not recommended). |
Weakening the policy from the UI asks for confirmation. The setting is application‑scoped,
so a workspace's .vscode/settings.json cannot turn the scan off.
🧷 Custom Headers
headers adds custom HTTP headers to every request for a model. They are merged with the
default headers (Authorization, Content-Type, User-Agent) and take precedence on conflict.
Header values are masked in debug logs unless on a known‑safe list.
{
"id": "custom-model",
"owned_by": "provider",
"baseUrl": "https://api.example.com/v1",
"headers": {
"X-API-Version": "2024-01",
"X-Request-Source": "vscode-copilot"
}
}
🧪 Custom Request Body (extra)
extra merges arbitrary parameters into the request body — useful for provider‑specific or
experimental features not covered by the dedicated fields. Works in all API modes.
{
"id": "gpt-4o-mini",
"owned_by": "openai",
"baseUrl": "https://api.openai.com/v1",
"apiMode": "openai-responses",
"reasoning_effort": "high",
"extra": { "reasoning": { "summary": "detailed" } }
}
extra values override standard parameters on conflict, so prefer the dedicated fields where
they exist.
🧰 Git Commit Messages
Mark a model with "useForCommitGeneration": true, then use the Generate Commit Message
button in the Source Control title bar (or the command of the same name). The output language is
controlled by customcopilot.commitLanguage, and you can override the prompt with
customcopilot.commitMessagePrompt. Works in all API modes, including gemini and zai.
⚡ Chat Generator
Open the Chat Generator entry in the configuration sidebar to fan a single prompt template out into many Copilot chats at once — handy for running the same task across many files, items, or variants.
- Prompt template — write your prompt with a placeholder.
- Replacement source — choose one of two modes:
- Simple — replace a token (default
[REPLACE_THAT], configurable) with each non‑empty line of the values box. One line → one chat. - Advanced (JSONL) — paste one JSON object per line; each key
NAMEreplaces the[NAME]token in the template (e.g.{"FILE":"src/foo.ts","TASK":"add tests"}), so you can substitute several placeholders per chat.
- Simple — replace a token (default
- Mode & model — pick the Copilot mode (Agent / Ask / Edit) and one of your configured models (or the currently active model).
- Launch strategy:
- Sequential — runs each chat one after another, waiting for each response (reliable).
- Parallel — fires the chats with a configurable delay so sessions run concurrently (best‑effort; VS Code exposes no API for guaranteed parallel auto‑submit).
- Preview — Generate Preview lists every expanded prompt with Copy and Open (pre‑fills a chat without submitting) buttons; Launch All opens them with your chosen strategy.
⚙️ Settings Reference
Global settings (namespace customcopilot.*):
| Setting | Default | Description |
|---|---|---|
customcopilot.baseUrl |
https://router.huggingface.co/v1 |
Default base URL for OpenAI‑compatible requests. |
customcopilot.models |
[] |
List of model configurations (see below). |
customcopilot.proxyUrl |
"" |
Global proxy (socks5://, http://, https://). |
customcopilot.userAgent |
Chrome UA string | Default User‑Agent for requests. |
customcopilot.delay |
0 |
Fixed delay (ms) between consecutive requests. |
customcopilot.retry |
enabled, 3 attempts | Retry policy for transient errors (429/5xx). |
customcopilot.chatRetries |
0 |
Automatic chat-level retries ("auto Try Again") when a request fails before any content streams. 0 off, -1 infinite, N max attempts. |
customcopilot.chatRetryInterval |
1000 |
Delay (ms) between automatic chat-level retries. |
customcopilot.chatRetryJitter |
0 |
Optional random extra delay (0–N ms) added before each chat retry, spreading out batch retries. 0 disables. |
customcopilot.logLevel |
off |
File log level → ~/.copilot/customcopilot/logs/. |
customcopilot.logMessageContent |
false |
Privacy opt‑in: when enabled AND logLevel is debug, full chat message content is written to the log file. Keep disabled unless you explicitly want conversation content persisted to disk. |
customcopilot.debugRequestLogging |
false |
Detailed curl‑reproduction + response logging of failed requests (headers masked). |
customcopilot.commitLanguage |
English |
Language for generated commit messages. |
customcopilot.commitMessagePrompt |
"" |
Custom system prompt for commit messages. |
customcopilot.readFileLines |
0 |
Lines to read for the read_file tool (0 = model decides). |
customcopilot.skills.safetyScan |
block |
Skill security scan policy: block, warn or off (see Skills). |
Security‑sensitive settings (models, proxyUrl, userAgent, promptOverride.*, logging,
skills.safetyScan) are application‑scoped: they can only be set in user settings, never by a
workspace, so a cloned repository can't redirect your API keys to another server.
Per‑model fields (customcopilot.models[])
id(required) — model identifier.owned_by/provider/provide(required) — provider id used for API‑key grouping.displayName— name shown in the Copilot model picker.configId— distinguishes multiple configs of the sameid(<id>::<configId>).family— model family for behavior hints (defaultoai-compatible).baseUrl,proxyUrl,userAgent— per‑model overrides of the global values.context_length(default 128000),max_tokens/max_completion_tokens(default 4096).vision(default false) — image input support.tool_calling— tool/function calling support.temperature(0–2, default 0),top_p,top_k,min_p.frequency_penalty,presence_penalty,repetition_penalty.reasoning_effort—none|minimal|low|medium|high|xhigh|max|ultra(auto‑clamped per provider;nonedisables thinking).reasoning— OpenRouter‑style object (enabled,effort,exclude,max_tokens).thinking—{ "type": "enabled" | "disabled" | "adaptive" }(Z.AI / ARK style).enable_thinking,thinking_budget— toggle/limit chain‑of‑thought output.include_reasoning_in_request— echoreasoning_contentback in assistant messages.headers— custom HTTP headers.extra— extra request‑body params.apiMode—openai|openai-responses|ollama|anthropic|gemini|zai.delay— per‑model request delay (ms).useForCommitGeneration— use for commit messages.- Auto‑generated:
configIdis auto‑assigned (1,2, …) when a model with the sameidalready exists and no explicitconfigIdis set. Existing duplicates are migrated on first launch.
🧑💻 Commands
| Command | ID |
|---|---|
| Set API Key For Source | customcopilot.setProviderApikey |
| Open Configuration UI | customcopilot.openConfig |
| Generate Commit Message | customcopilot.generateGitCommitMessage |
| Stop Commit Message Generation | customcopilot.abortGitCommitMessage |
| Toggle Model Capability (tools / vision / thinking) | customcopilot.toggleModelCapability |
| Select Commit Message Model | customcopilot.setDefaultModel |
| Show Background Agents | customcopilot.showAgents |
| Stop All Background Agents | customcopilot.stopAllAgents |
| Resume Background Agent (view / popup) | customcopilot.resumeAgentById |
| Show Agent Map | customcopilot.showAgentMap |
🏗 Development
npm install # install dependencies
npm run watch # tsc --watch (used by the F5 dev host)
npm run compile # one‑off build → out/
npm run lint # eslint src
npm run format # prettier --write .
npm run test # compile + @vscode/test-electron
npm run build # package → extension.vsix
Press F5 to launch the Extension Development Host. See AGENTS.md for architecture
and contribution conventions.
🙏 Credits
- Hugging Face VS Code Chat Extension
- oai-compatible-copilot by JohnnyZ93
- microsoft/vscode
- Hermes Agent — provider reasoning‑effort vocabularies and thinking‑budget safety patterns were ported from its provider registry.
- VS Code Language Model Chat Provider API
- Contributors
📄 License
MIT © keklick1337