Manage context
Compact a long conversation
Autolith compacts long conversations into a checkpoint and keeps recent turns. The context meter shows the token count. The | marks the automatic compaction point.
- Run
(compact)to make a checkpoint now. If a turn is active, Autolith waits until the turn ends. - Use
(settings :compaction-threshold-percent)to inspect the threshold. The default is 80% of the context window. - Read the transcript if you need the exact text of earlier messages or tool results.
Save a recurring correction
If you find yourself giving Autolith the same correction, save it for later conversations.
- Run
(complain "Your explanations are too long. Give the result first."). - Review the suggested instruction and the text that triggers it. Edit either one if needed.
- Save it for the current workspace or for all workspaces.
Set token limits
Inspect the effective limits with (status). Use (settings) to find settings for the active model.
- Context window. Set
AUTOLITH_CONTEXT_WINDOWfor one launch if you need to override the window. - Reply length. Set
(settings :max-output-tokens N)to cap the tokens requested for one reply. Usenilto clear the override.