Repository navigation
v0.0.302.27
·
84 commits
to main
since this release
Codegraff v0.0.302.27
Choose where automatic compaction starts.
The compaction point is yours to set
graff compacts a conversation once it fills 80% of the model's context window.
You can now move that point anywhere from 10% to 95%. Lower keeps each request
smaller and cheaper; higher keeps more of the conversation word for word.
- In a chat,
/compact-at 70applies at once and is saved for the workspace.
/compact-atshows the current point, and/compact-at defaultgoes back
to 80%. This works in the terminal and in the desktop app. - From the command line, use
graff --compact-at 70. From code, pass
compactAt: 70to the TypeScript SDK orcompact_at=70to the Python SDK. GRAFF_COMPACT_PCT=70works as before. The desktop app's new setting
(Settings → Agents → Graff compaction point) uses it.
The command-line flag wins over the environment variable, which wins over a
value saved with /compact-at.