pi-openrouter-fallback0.1.2
Pi extension for OpenRouter model scoping and automatic switch to openrouter/free on HTTP 403 with auto-resubmit
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.
Reports 0
No reports yet.
Readme
pi-openrouter-fallback
Pi extension that:
- scopes the OpenRouter model list to a curated subset so
/modelstays 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