Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v0.2.98 Home All releases olderv0.2.97 v0.2.99newer
Claude Code v0.2.98

Dynamic Model Configuration

The CLI now provides enhanced model selection capabilities with runtime configuration support:

  • Statsig Integration: Model configuration now integrates with Statsig for A/B testing and feature flags
  • Environment Variable Priority: The ANTHROPIC_MODEL environment variable takes precedence over other configuration methods
  • Fallback Chain: Implements a robust fallback mechanism for model selection:
  1. Check environment configuration
  2. Check process environment variable
  3. Use Statsig-provided model
  4. Fall back to default model
Example usage
# Set a specific model via environment variable
ANTHROPIC_MODEL=claude-3-opus-20240229 claude

# The model will persist across sessions if set in config

See this entry in the whole of v0.2.98 →