Skip to content

feat: change default model from sonnet-4.5 to sonnet-4.6#1266

Open
ambient-code[bot] wants to merge 2 commits intomainfrom
ambient/update-default-model-sonnet-4-6
Open

feat: change default model from sonnet-4.5 to sonnet-4.6#1266
ambient-code[bot] wants to merge 2 commits intomainfrom
ambient/update-default-model-sonnet-4-6

Conversation

@ambient-code
Copy link
Copy Markdown
Contributor

@ambient-code ambient-code bot commented Apr 9, 2026

Summary

  • Update the default model for new sessions from claude-sonnet-4-5 to claude-sonnet-4-6 in the models manifest (models.json)
  • Update the backend hardcoded fallback in sessions.go to use claude-sonnet-4-6
  • Un-gate claude-sonnet-4-6 (featureGated: false) since it is now the platform default
  • Update backend and frontend test fixtures to reflect the new default

Changes

File Change
components/manifests/base/core/models.json defaultModel and providerDefaults.anthropicclaude-sonnet-4-6; un-gate sonnet-4-6
components/backend/handlers/sessions.go Hardcoded fallback model → claude-sonnet-4-6
components/backend/handlers/models_test.go Test fixture and assertions updated for new default + model count
components/frontend/.../new-session-view.test.tsx Mock data updated for new default
components/frontend/.../runner-model-selector.test.tsx Mock data updated for new default

Test plan

  • Frontend unit tests pass (631 passed)
  • Backend unit tests pass (CI)
  • Verify new sessions default to claude-sonnet-4-6 in the UI

Note: The public-api Docker build failure is a pre-existing issue on main (go mod download failure), unrelated to this PR.

Closes #1262

🤖 Generated with Claude Code


🤖 Ambient Session

Update the default model for new sessions to claude-sonnet-4-6 across
the platform: models.json manifest, backend fallback, and test fixtures.
Also un-gates claude-sonnet-4-6 (featureGated: false) since it is now
the default model.

Closes #1262

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ambient-code ambient-code bot added the ambient-code:managed PR managed by AI automation label Apr 9, 2026
@ambient-code
Copy link
Copy Markdown
Contributor Author

ambient-code bot commented Apr 9, 2026

This PR updates the default model for new sessions from claude-sonnet-4-5 to claude-sonnet-4-6 as requested in #1262.

Key changes:

  • models.json: Updated defaultModel and providerDefaults.anthropic to claude-sonnet-4-6, and removed the feature gate on sonnet-4-6 so all users get it by default
  • sessions.go: Updated the hardcoded fallback model used when no LLM settings are provided
  • Tests: Updated all test fixtures and assertions across backend and frontend to reflect the new default

Frontend tests verified locally (631 passed). Backend/operator tests will be validated by CI.

🤖 Session

The "should return all models when no provider filter" test also needed
its HaveLen updated from 6 to 7 after adding claude-sonnet-4-6 to the
test fixture.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ambient-code:managed PR managed by AI automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change default model for new sessions from sonnet-4.5 to sonnet-4.6

0 participants