Skip to content
Discussion options

You must be logged in to vote

I think you are disabling the client-side setting, while the request is being modified by Headroom’s server-side setting. They are separate:

  • ENABLE_TOOL_SEARCH controls Claude Code’s own deferred tool loading.
  • HEADROOM_TOOL_SEARCH controls Headroom’s proxy-side tool-search injection.

The default coding profile sets HEADROOM_TOOL_SEARCH=1, so changing only ENABLE_TOOL_SEARCH will not stop the proxy from adding the tool-search fields.

Set this in the environment of the proxy process before starting it:

export HEADROOM_TOOL_SEARCH=0
headroom proxy

Or, if you launch through the wrapper:

HEADROOM_TOOL_SEARCH=0 headroom wrap claude

Make sure to fully stop and restart any already-running or pe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arthurfujii-cit
Comment options

Answer selected by arthurfujii-cit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants