Skip to content

Commit 6eddf08

Browse files
committed
flip toolcall prune defaults
1 parent 9c7e52b commit 6eddf08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/session/compaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const layer: Layer.Layer<
8888
// calls, then erases output of older tool calls to free context space
8989
const prune = Effect.fn("SessionCompaction.prune")(function* (input: { sessionID: SessionID }) {
9090
const cfg = yield* config.get()
91-
if (cfg.compaction?.prune === false) return
91+
if (!cfg.compaction?.prune) return
9292
log.info("pruning")
9393

9494
const msgs = yield* session

0 commit comments

Comments
 (0)