H
History Trim
Send a request's history smaller: fold a run of blank lines, drop a system prompt written twice and a message repeated right after itself, and cut a past tool result longer than maxToolLength at a word boundary. The turn being sent now is left whole.
- Weekly downloads
- 0
- Monthly downloads
- 0
- Stars
- 0
- Users (7 days)
- 0
- Likes
- 0
Install
pansy
pansy plugin add @magpie-community/middleware-history-trim- Kind
- middleware