mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
claude-opus-4-7[1m] (the model name Claude Code sends to select Anthropic's 1M tier) was unmapped in ANTHROPIC_CONTEXT_LIMITS and unmapped in LiteLLM's bundled JSON, so get_context_limit fell through to _PATTERN_DEFAULTS["opus"] = 200K. The under-budget made IntelligentContextManager.should_apply skip compression on typical ~50K Claude Code sessions, surfacing as "0 savings" on Opus 4.7 traffic. Register both the bare and [1m]-suffixed forms at 1M with Opus-tier pricing. |
||
|---|---|---|
| .. | ||
| act | ||
| actions/headroom-e2e-setup | ||
| ISSUE_TEMPLATE | ||
| plugin | ||
| workflows | ||
| dependabot.yml | ||
| FUNDING.yml | ||
| PULL_REQUEST_TEMPLATE.md | ||