Skip to content

yippiez/pi-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-router

pi-router is a Pi package that adds model routing with failover and priority-based selection:

  • /router:configure opens an interactive picker to select and prioritize models
  • /router:enable enables the router
  • /router:disable disables the router
  • Automatically fails over to the next available model on errors
  • Quits with exit code 1 if no model is available

Install from Git

Global install (writes to ~/.pi/agent/settings.json):

pi install git:github.com/yippiez/pi-router

Local/project install (writes to .pi/settings.json in the current repo):

pi install -l git:github.com/yippiez/pi-router

Optional: Pin to a ref

Pin global install to main:

pi install git:github.com/yippiez/pi-router@main

Pin local install to main:

pi install -l git:github.com/yippiez/pi-router@main

About

Pi extension that allows priority based automatic model switching

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors