Repository navigation
Question about MCP-only mode in Codex Desktop: Who evaluates the need for compression and on what basis? #4439
Unanswered
george-world
asked this question in
Q&A
Replies: 1 comment
|
In mcp-only mode, codex decides whether to call headroom_compress. Headroom doesn't automatically inspect or intercept tool outputs in this setup. Your token concern is valid. If the full output has already reached the model, those input tokens are already consumed. Compressing it afterward won't undo that cost. For actual upfront savings, you'd want compression before the output enters the model context, using the proxy or wrapper approach. mcp-only is better suited for on-demand compression, not automatic token reduction. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I’m currently configuring Headroom in MCP-only mode using Codex Desktop, and I’m trying to understand the architectural flow behind how compression gets triggered.
Specifically, I have a few questions about the decision-making process:
headroom_compresstool needs to be invoked?Any architectural details or insights into how this flow works within the Codex Desktop / MCP integration would be greatly appreciated. Thanks!
All reactions