pi-openrouter-fallback
v0.1.2
Published
Pi extension for OpenRouter model scoping and automatic switch to openrouter/free on HTTP 403 with auto-resubmit
Maintainers
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-fallbackInstall from local path
pi install ./pi-packages/pi-openrouter-fallback