Skip to content
프로젝트

소개

9RouterX VS Code extension - model picker, status bar, dashboard link

AI 및 머신러닝

이 수치를 측정하는 방법

What 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.

측정된 스타 증가

in 24h
기록 수집 중
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

9RouterX 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 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.

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

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.

관련 프로젝트 살펴보기

불러오는 중…