Skip to content

fix(cli): update default model to claude-sonnet-4-6#249

Open
0xAxiom wants to merge 1 commit intomainfrom
fix/update-default-claude-model
Open

fix(cli): update default model to claude-sonnet-4-6#249
0xAxiom wants to merge 1 commit intomainfrom
fix/update-default-claude-model

Conversation

@0xAxiom
Copy link
Copy Markdown
Owner

@0xAxiom 0xAxiom commented May 1, 2026

What

Update DEFAULT_MODEL in CLI/src/core/anthropic.ts from claude-sonnet-4-20250514 to claude-sonnet-4-6.

Why

claude-sonnet-4-20250514 is the dated model alias for Claude Sonnet 4 released in May 2025. As of April 2026, the current generation Sonnet is claude-sonnet-4-6, which offers improved reasoning, instruction following, and code generation quality.

Using an outdated model by default means:

  • Users get lower quality outputs than the platform can deliver
  • The dated alias may eventually be deprecated/retired, breaking the CLI with no obvious error
  • New users assume AppFactory is using current capabilities when it is not

Setting ANTHROPIC_MODEL env var still overrides this for anyone who needs a specific version.

Tested

  • All 252 existing tests pass (npm test)
  • Model name is only used at runtime when calling the Anthropic API; no tests mock the model string

…e-sonnet-4-6

claude-sonnet-4-20250514 is the dated alias for Claude Sonnet 4 released
May 2025. The current generation is claude-sonnet-4-6, which offers
improved reasoning and instruction following.

Updating the DEFAULT_MODEL constant ensures AppFactory uses the latest
Sonnet by default without requiring users to set ANTHROPIC_MODEL manually.
@0xAxiom 0xAxiom requested a review from MeltedMindz as a code owner May 1, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant