mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-10 04:10:26 +00:00
flip toolcall prune defaults
This commit is contained in:
parent
9c7e52b8a1
commit
6eddf08244
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ export const layer: Layer.Layer<
|
|||
// calls, then erases output of older tool calls to free context space
|
||||
const prune = Effect.fn("SessionCompaction.prune")(function* (input: { sessionID: SessionID }) {
|
||||
const cfg = yield* config.get()
|
||||
if (cfg.compaction?.prune === false) return
|
||||
if (!cfg.compaction?.prune) return
|
||||
log.info("pruning")
|
||||
|
||||
const msgs = yield* session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue