Files
mguinhos d17575771b Projeto: app demo, servidor/firmware em software/, simulacao Godot, planta do bloco D, chapas MDF da base, renders e slides
- app/: app demo (Kivy/buildozer) da API do robo
- software/: servidor RoboMovel (SLAM, profundidade, navegacao) e firmware da base movel (movido de firmware/)
- simulacao/: projeto Godot do robo e script de lancamento servidor + simulacao
- modelos/: planta do 5o andar do bloco D, cena Blender do corredor e modelo real do robo
- partes/mdf/: chapas identificadas e nesting da base do robo (DXF/SVG/FCStd)
- projeto/render, relatorio/imagens, slides: renders finais e apresentacoes de progresso
- ferramentas/scripts: encaixe de chapas, planta do bloco D e render do corredor no Blender
- .gitignore: ignora backups do Blender/FreeCAD e .godot/
2026-10-25 23:38:16 -03:00

961 B

compact

Compact the conversation to free context.

Input — instruction (optional): what the summary should focus on.

The earlier messages are replaced by a summary the model writes itself, and the most recent turns are kept verbatim. It is the same operation that runs automatically as the context nears the model's window; the tool is the manual trigger, for when the user asks to compact, clear or summarize the context.

The summary is a real model call, so it costs a request and its usage is counted. Detail is lost — that is the point — so the model is told to use it deliberately, and instruction steers what to keep.

The window the automatic threshold is measured against comes from the context_window preference (or context_window:<model> for one model), falling back to 128k, and auto_compact=false turns the automatic trigger off while leaving this tool. See the user manual.