Skip to content
المشاريع

حول

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

الذكاء الاصطناعي وتعلّم الآلة

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • 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 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…