MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / NoCompaction

Struct NoCompaction

internal/compact/nocompaction.go:10–10  ·  view source on GitHub ↗

NoCompaction is the default — never modifies messages.

Source from the content-addressed store, hash-verified

8
9// NoCompaction is the default — never modifies messages.
10type NoCompaction struct{}
11
12func (NoCompaction) Compact(_ context.Context, messages []api.Message) ([]api.Message, error) {
13 return messages, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected