[BUG] /context command does not work through Bedrock.
Resolved 💬 3 comments Opened Aug 22, 2025 by khromov Closed Aug 28, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [x] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.88 (Claude Code)
- Operating System: macOS 15.6.1 (24G90)
- Terminal: zsh
Bug Description
/context command shows context usage as empty:
<img width="587" height="206" alt="Image" src="https://github.com/user-attachments/assets/461ad7b6-431a-4169-9acd-78a0173fa652" />
Steps to Reproduce
- Start Claude Code in bedrock mode (I'm using LiteLLM as a Bedrock proxy):
ANTHROPIC_SMALL_FAST_MODEL=eu.anthropic.claude-3-5-haiku-20241022-v1:0 ANTHROPIC_MODEL=eu.anthropic.claude-sonnet-4-20250514-v1:0 ANTHROPIC_AUTH_TOKEN=sk-XXX ANTHROPIC_BEDROCK_BASE_URL=http://localhost:8888/bedrock CLAUDE_CODE_SKIP_BEDROCK_AUTH=1 CLAUDE_CODE_USE_BEDROCK=1 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 claude
Expected Behavior
/context should work
Actual Behavior
/context always shows as empty
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗