Dummy providers for Pi, for testing editor features and other plugins without LLM interaction
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-16 19:23:18 -07:00
index.ts Fix duplicate echo output 2026-11-16 19:23:18 -07:00
package.json Add selectable dummy model extension 2026-11-16 19:13:29 -07:00
README.md Separate empty dummy and failing models 2026-11-16 19:19:47 -07:00

pi-dummy

A Pi extension with selectable models for testing Pi features without invoking an LLM.

  • dummy/dummy succeeds with an empty response and makes no network request.
  • dummy/fail fails locally with an HTTP 501-style error; it does not process or forward the prompt.
  • dummy/echo returns the text from the last user message in the provider context, excluding prior turns.

Use

Load the extension with pi -e /path/to/pi-dummy, then select a model with /model.

To install it as a Pi package, install this directory using Pi's package manager or add its path to your Pi package configuration.