Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#3591·headroom

headroom_retrieve reports item count in a field named original_tokens

Author: wporosloCreated Sep 15, 2026Updated Sep 15, 2026

headroom-ai 0.26.0.

headroom_retrieve returns original_tokens equal to original_item_count on every call I checked — 32/32, 86/86, 105/105, 47/47. It's a line/item count, not tokens.

The name reads as a token figure, so it looks like the compressor fired on a 32-token payload. I spent a while concluding the floor was being ignored entirely before realising I was reading item counts.

Renaming it, or returning both, would make the savings reporting self-explanatory.

Source: headroomlabs-ai/headroom

View original on GitHubView discussion on GitHub