yanstd888/9routerx-vscode
Acerca de
9RouterX VS Code extension - model picker, status bar, dashboard link
IA y aprendizaje automáticoWhat you can do
- Model picker (native Copilot Chat): contributes a languageModelChatProviders vendor so the gateway's models appear in VS Code's model picker alongside the built-in ones.
- Status bar quota and health: a status-bar item shows whether the gateway is reachable and how many models it serves; click it to open the dashboard.
- Open dashboard: the 9routerx.openDashboard command opens the gateway UI on port 20128.
- Configurable: base URL, API key, and an optional model or combo name to route to.
Crecimiento de estrellas medido
- in 24h
- Recopilando historial
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original9RouterX VS Code Extension — Model Picker + Status Bar for a Self-Hosted OpenAI-Compatible AI Gateway
9RouterX VS Code Extension connects Visual Studio Code to a self-hosted 9RouterX gateway, so your local gateway's models appear in the native model picker and a status-bar item reports gateway health and model count. It is a small companion extension for developers who run 9RouterX locally and want their coding assistant to route through it.
9RouterX itself is a self-hosted, OpenAI-compatible AI gateway that compiles into a single Go binary and routes requests across subscriptions, cheap models, and free models with automatic failover. This extension is a thin client for that gateway; the gateway does the routing, failover, and budgeting.
Install
Build and install from this repository (the extension is version 0.1.0):
npm install
npm run compile
npx @vscode/vsce package
Install the produced 9routerx-0.1.0.vsix via Extensions → … → Install from
VSIX. Open VSX publish instructions for the owner are in
PUBLISH-OPENVSX.md.
Features
- Model picker (native Copilot Chat): contributes a
languageModelChatProvidersvendor so the gateway's models appear in VS Code's model picker alongside the built-in ones. - Status bar quota and health: a status-bar item shows whether the gateway is reachable and how many models it serves; click it to open the dashboard.
- Open dashboard: the
9routerx.openDashboardcommand opens the gateway UI on port20128. - Configurable: base URL, API key, and an optional model or combo name to route to.
Requirements
- A running local 9RouterX gateway (default
http://127.0.0.1:20128). - A gateway API key (
sk-...) created in the dashboard under Settings → API Keys. - VS Code
^1.90.0. - Node.js 22 to build from source.
Configuration
| Setting | Default | Description |
|---|---|---|
9routerx.baseUrl |
http://127.0.0.1:20128 |
Base URL of the local 9RouterX gateway. |
9routerx.apiKey |
(empty) | Gateway API key (sk-...). |
9routerx.model |
(empty) | Model or combo name to route to; empty lists every model the gateway exposes. |
Links
- Core 9RouterX gateway: https://github.com/yanstd888/9routerx
- 9RouterX wiki: https://yanstd888.github.io/9routerx/
- Publish to Open VSX (owner):
PUBLISH-OPENVSX.md
What is 9RouterX Extension
9RouterX Extension is a Visual Studio Code extension that registers a language model provider backed by a local 9RouterX gateway, adds a status-bar item that reports gateway reachability and model count, and provides a command that opens the gateway dashboard on port 20128. The gateway itself handles provider routing, failover, and per-key budgeting; the extension forwards requests to it over the local machine.
License
MIT — see LICENSE.
Explorar proyectos relacionados
Cargando…