Skip to content
プロジェクト

概要

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

AI・機械学習

この数値の測り方

できること

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

計測したスター増加

24時間
履歴を収集中
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…