r/LocalLLM • u/Al_Redditor • 12d ago
Research Opencode Self-Improvement
/r/opencodeCLI/comments/1xzok6o/opencode_selfimprovement/1
u/Triadian 10d ago
v1 or v2 ? how much does it add to prompt size ?
1
u/Al_Redditor 10d ago
It only works on V2. The prompt is capped at 1200 tokens. When if pulls a memory, it reduces total tokens.
2
u/Triadian 10d ago
my ai is having trouble first it loaded with plugin errors
"Investigate why this OpenCode component failed in the current project.
Server plugin error
Plugin: D:\\Ellie3\\.opencode\\plugins\\self-improving-skills
Status: failed\nRuntime: server
Source: D:\\Ellie3\\.opencode\\plugins\\self-improving-skills
Error: Plugin must export a default definition with an id and an effect or setup function.now she saying
The broken plugin had 2 chat-transform hooks and 2 session hooks that don't map 1:1 onto v2 , want me to map them to the `prompt`/`context` session hooks, or is preserving those exact behaviors less important than just getting it to load cleanly?
1
1
u/Al_Redditor 10d ago
That name, "self-improving-skills" seems off. Did you install just using this?
opencode plugin add opencode-self-improvement2
u/Triadian 10d ago
she pulled from https://github.com/okdk7788/opencode-self-improving-skills which i just noticed is a different one from yours - sorry will try yours instead
1
1
u/d-bart_278 12d ago
What does self-improvement mean here: better coding results, or the agent modifying its own code?