Skip to content

feat: Claude Sonnet and Opus 4.6 updates#10600

Merged
sestinj merged 1 commit intomainfrom
dallin/claude-4-6-models
Feb 18, 2026
Merged

feat: Claude Sonnet and Opus 4.6 updates#10600
sestinj merged 1 commit intomainfrom
dallin/claude-4-6-models

Conversation

@RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Feb 17, 2026

Add claude-sonnet-4-6 and claude-opus-4-6 as the new default Sonnet and Opus models across providers, GUI configs, schemas, cost calculation, and CLI defaults. Update display names for all >= 4.5 models to use name-first format (e.g. "Claude Sonnet 4.5" not "Claude 4.5 Sonnet").


Continue Tasks: ▶️ 7 not started · ✅ 20 no changes · ✅ 1 merged — View all


Summary by cubic

Add Claude Sonnet 4.6 and Claude Opus 4.6 and set them as the new defaults across core, CLI, GUI, schemas, and cost calculator. Standardize display names to “Claude ” for all 4.5+ models.

  • New Features

    • Default Anthropic model changed to claude-sonnet-4-6 (core and CLI).
    • 4.6 models added to providers (Anthropic, CometAPI), GUI catalog, VS Code schema, and YAML slugs.
    • Pricing added for 4.6 models in the request cost calculator.
    • Tests and YAML updater updated to target 4.6.
    • Display names updated to name-first format (e.g., “Claude Sonnet 4.5”, “Claude Haiku 4.5”, “Claude Opus 4.5”).
  • Migration

    • New configs will default to Sonnet 4.6. Pin a specific model in your config if you want to keep 4.5 or another version.

Written for commit c006d4b. Summary will update on new commits.

Add claude-sonnet-4-6 and claude-opus-4-6 as the new default Sonnet and
Opus models across providers, GUI configs, schemas, cost calculation,
and CLI defaults. Update display names for all >= 4.5 models to use
name-first format (e.g. "Claude Sonnet 4.5" not "Claude 4.5 Sonnet").
@RomneyDa RomneyDa requested a review from a team as a code owner February 17, 2026 19:49
@RomneyDa RomneyDa requested review from sestinj and removed request for a team February 17, 2026 19:49
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 17, 2026
@continue-staging
Copy link
Contributor

Docs Review

No documentation updates needed for this PR.

Reason: This PR adds Claude Sonnet 4.6 and Claude Opus 4.6 model support across providers, GUI configs, and defaults. The changes are purely additive model definitions that don't require doc updates because:

  • Hub-based discovery: Users discover available models through the Continue Hub, which automatically reflects newly supported models
  • Configuration patterns unchanged: The YAML/JSON configuration syntax remains identical—only the model identifier changes
  • Existing examples still valid: Documentation examples using older Claude versions (4.5, 4.1) remain functional and demonstrate the same patterns
  • Dynamic links: Hub links like https://continue.dev/anthropic/claude-opus-4-6 work without static doc changes

The chat.mdx page already references Claude Opus 4.6 in the recommendations section, indicating the docs anticipated this model availability.

@continue-staging
Copy link
Contributor

Documentation Review

No documentation updates are needed for this PR.

Rationale:

  • The chat.mdx already recommends Claude Opus 4.6 and links to the correct hub pages
  • Model examples in docs (e.g., anthropic/claude-sonnet-4-5-20250514 in checks/reference.mdx) are illustrative - they demonstrate syntax and patterns, not an exhaustive list of available models
  • The docs maintain the right level of abstraction: users discover specific models through the Continue Hub, while docs explain how to configure models
  • Adding new model versions is a routine codebase update that doesn't change developer workflows or configuration patterns

The existing documentation accurately guides developers to Anthropic models and the Hub, where they'll find Claude Sonnet 4.6 and Claude Opus 4.6 available.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 14 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="extensions/cli/src/util/yamlConfigUpdater.ts">

<violation number="1" location="extensions/cli/src/util/yamlConfigUpdater.ts:65">
P2: This filter no longer removes the previous default (`claude-sonnet-4-5`), so configs containing the old model will keep it and also add 4.6. That breaks the intended “update or add” behavior and leaves duplicate Sonnet entries.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

// Filter out existing anthropic models
config.models = config.models.filter(
(model: any) => !model || model.uses !== "anthropic/claude-sonnet-4-5",
(model: any) => !model || model.uses !== "anthropic/claude-sonnet-4-6",
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This filter no longer removes the previous default (claude-sonnet-4-5), so configs containing the old model will keep it and also add 4.6. That breaks the intended “update or add” behavior and leaves duplicate Sonnet entries.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At extensions/cli/src/util/yamlConfigUpdater.ts, line 65:

<comment>This filter no longer removes the previous default (`claude-sonnet-4-5`), so configs containing the old model will keep it and also add 4.6. That breaks the intended “update or add” behavior and leaves duplicate Sonnet entries.</comment>

<file context>
@@ -62,7 +62,7 @@ export function updateAnthropicModelInYaml(
     // Filter out existing anthropic models
     config.models = config.models.filter(
-      (model: any) => !model || model.uses !== "anthropic/claude-sonnet-4-5",
+      (model: any) => !model || model.uses !== "anthropic/claude-sonnet-4-6",
     );
 
</file context>
Suggested change
(model: any) => !model || model.uses !== "anthropic/claude-sonnet-4-6",
(model: any) =>
!model ||
(model.uses !== "anthropic/claude-sonnet-4-5" &&
model.uses !== "anthropic/claude-sonnet-4-6"),
Fix with Cubic

@sestinj sestinj merged commit c006d4b into main Feb 18, 2026
46 of 62 checks passed
@sestinj sestinj deleted the dallin/claude-4-6-models branch February 18, 2026 04:05
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Feb 18, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Feb 18, 2026
@github-actions github-actions bot added the tier 2 Important feature that adds new capabilities to the platform or improves critical user journeys label Feb 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:L This PR changes 100-499 lines, ignoring generated files. tier 2 Important feature that adds new capabilities to the platform or improves critical user journeys

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants