Repository navigation
Commit ce1023a
authored
opencode: disable LSP, enable compaction pruning (#83)
LSP diagnostics store full workspace errors in context on every edit.
On large Go projects (gopls), this consumes 40%+ of the context window
with ~210 pre-existing false positives repeated identically per edit.
See anomalyco/opencode#6310.
Enable compaction pruning to drop old tool outputs, further reducing
context growth in long sessions.1 parent 0fd3be4 commit ce1023a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| |||
0 commit comments