Model override using ANTHROPIC_MODEL is not working.

Resolved 💬 8 comments Opened Feb 27, 2025 by Croskcool Closed Feb 27, 2025

Exported ANTHROPIC_MODEL to Haiku 3.5

printenv results in

ANTHROPIC_MODEL=anthropic.claude-3-5-haiku-20241022-v1:0
DISABLE_PROMPT_CACHING=1
AWS_REGION=us-east-1
CLAUDE_CODE_USE_BEDROCK=1

However, in AWS CW Bedrocks metrics, it is still using Sonnet 3.7.

Even upon asking which model are you using
It response

I'm using claude-3-7-sonnet-20250219-v1:0.

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗