Skip to content

hdkiller/pi-block-unknown-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pi-block-unknown-command

A pi extension that intercepts unknown slash commands and prevents them from being sent to the LLM.

What it does

When a user types a slash command that pi does not recognize, this extension:

  • blocks the request before it reaches the model
  • shows a warning notification
  • allows known built-in and registered commands through normally

This helps avoid wasting requests on typos like /realod or nonexistent commands.

Install

From GitHub

pi install git:github.com/hdkiller/pi-block-unknown-command

From local path

pi install ./pi-block-unknown-command

Usage

Reload pi after installing:

/reload

No configuration is required.

Development

Run pi with the local package:

pi -e ./pi-block-unknown-command

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors