github:DSH-Raising-Plan/dsh-context-budget

memorygit

Trim tools for long chats: trim_context / estimate_context_tokens keep the system persona and the last message, drop the oldest user/assistant pairs to fit a turn or token budget, and report before/after estimates; the conversation is not trimmed unless something calls the tools.

下载量 / Downloads
0

Install

dsh plugin --profile web add github:DSH-Raising-Plan/dsh-context-budget

Sandbox test

This plugin has not been tested yet. Submit a test →

Links

GitHub · Homepage · npm

Same category