@velocirouter/omp1.0.4
oh-my-pi extension for VelociRouter — registers the provider, its model catalog, and key usage.
Built for omp
The author tagged this package oh-my-pi.
Reports 0
No reports yet.
Readme
@velocirouter/omp
oh-my-pi extension for VelociRouter. It registers VelociRouter as a provider and loads the model catalog from the API.
omp plugin install @velocirouter/omp
Then run /login inside omp, pick VelociRouter, and paste your rt-… key.
omp builds its provider list at session start, so /model keeps showing
VelociRouter as not configured until you press F5 in the picker or restart
omp.
What it registers
- Provider —
velocirouter, anopenai-completionsendpoint. - Login — a
/loginentry that prompts for your key and validates it. - Models — fetched from
/v1/models, so new models appear without upgrading this package. Image support, tool support, and the reasoning-effort ladder all come from the API. The context window is the API's combined window minus the output reservation: omp compacts once accumulated tokens pass it, and those tokens are the next request's input, so the combined figure would let a long session overshoot the input ceiling.
Costs are reported as zero: VelociRouter bills your account directly, so omp's per-session cost estimate would double-count.
Environment variables
| Variable | Effect |
|---|---|
VELOCIROUTER_API_KEY |
Used instead of the stored login. Set this in CI. |
VELOCIROUTER_BASE_URL |
Override the API host (default https://api.velocirouter.site). |
Publishing
npm publish --access public