New features / v2.1.273
LLM gateway hint request headers
CHANGELOG · original
Added x-claude-code-request-class, x-claude-code-agent-type, x-claude-code-prev-tool-durations, x-claude-code-compaction and x-claude-code-context-compacted request headers for LLM gateways; opt in with CLAUDE_CODE_GATEWAY_HINT_HEADERS=1 Open official changelog ↗ Related documentation
Background on the feature; see the changelog above for this specific change.