← Back to the list
O

@ghilteras/opencode-reasoning-pruner

Prunes historical reasoning parts from the message history sent to the LLM (keeping the last turn's), saving context window and tokens on reasoning models. Model-agnostic; uses the idiomatic experimental.chat.messages.transform hook.

Weekly downloads
13
Monthly downloads
58
Stars
0
Users (7 days)
0
Likes
0

Install

OpenCode (opencode.json)
"plugin": ["@ghilteras/opencode-reasoning-pruner"]
Version
1.0.0
Publisher
ghilteras
License
MIT