omp packages

pi-openrouter-fallback0.1.2

Pi extension for OpenRouter model scoping and automatic switch to openrouter/free on HTTP 403 with auto-resubmit

cloveland Published 5 months ago MIT ~206 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-openrouter-fallback

Pi extension that:

  • scopes the OpenRouter model list to a curated subset so /model stays focused
  • watches for HTTP 403 responses from OpenRouter
  • switches to openrouter/free
  • auto-resubmits the last prompt as a follow-up
  • shows OpenRouter model pricing in the footer status area as input/output cost per 1M tokens

Local test

pi -e ./pi-packages/pi-openrouter-fallback

Install from local path

pi install ./pi-packages/pi-openrouter-fallback