This extension provides a language model provider for GitHub Copilot Chat that connects to ZenMux. ZenMux is a model gateway that unifies inference APIs from different backends (for example OpenAI, Anthropic, Vertex AI) under a single, compatible API surface. For more information, visit the official ZenMux website: https://zenmux.ai
Key points
ZenMux is a model gateway used to route and manage requests to multiple backend inference providers.
This extension exposes a ZenMux Provider to Copilot Chat so Copilot can send requests via a configured ZenMux instance.
Overview
Name: ZenMux Compatible Provider for Copilot
Version: see package.json
Prerequisites
VS Code >= 1.104.0
The github.copilot-chat extension installed
Node.js (for development and building)
Install & build
Install dependencies (if needed):
npm install
Compile TypeScript:
npm run compile
Package a VSIX (optional):
npm run build
Run in the Extension Development Host
Open this repository in VS Code and press F5 (Run Extension) to launch an Extension Development Host.
After activation in the development host, Copilot Chat should list and be able to use the ZenMux Provider language model provider.
Activation & logging
Activation events are declared in package.json under activationEvents (for example onStartupFinished and onCommand:zenmux.setApikey).
The extension creates an Output Channel named ZenMux. To view logs:
Open the Output panel (View → Output or Ctrl+Shift+U).
Select ZenMux from the dropdown in the panel's top-right.
Configuration (common)
zenmux.baseUrl: base URL for the ZenMux gateway (example default: https://zenmux.ai/api/v1).