@ravshansbox/pi-anthropic-sps2.0.1
Anthropic system prompt sanitiser extension for pi
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-anthropic-sps
Anthropic system prompt sanitiser extension for pi.
Install
pi install npm:@ravshansbox/pi-anthropic-sps
Usage
Pi loads the extension from ./index.ts and sanitises outgoing Anthropic system prompts for Claude models before the provider request is sent.
For example, if a Claude request contains the known problematic documentation lines in the system text, the extension removes those lines while leaving the rest of the prompt unchanged.
Development
npm install
npm run check