[BUG] /context command does not work through Bedrock.
Status Fixed / completed
Maintainer reply ✓ Yes — ant-kurt
Activity 3 comments · opened Aug 22, 2025 · closed Aug 28, 2025
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
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. -->
3 Comments
I am seeing the same 0-tokens
/contextbehavior. I am directly connecting to Bedrock without LiteLLM.Claude CLI version: 1.0.92 (Claude Code)
Operating System: macOS Version 15.6 (24G84)
Terminal: zsh
/contextcommand is currently unsupported on Bedrock and Vertex, and has been disabled in 1.0.94.This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.