continue-custom/extensions
Nate Sesti d3f60ba9dd
fix(cli): use explicit model definitions in default config instead of Hub slugs (#12804)
* fix(cli): use explicit model definitions in default config instead of Hub slugs

The CLI onboarding wrote a default ~/.continue/config.yaml using slug-based
blocks (`uses: anthropic/claude-sonnet-4-6` with `with: { ANTHROPIC_API_KEY }`).
Slug/Hub resolution has been removed, so the CLI errored at runtime with
"Failed to unroll block ... Slug-based package resolution is not supported".

Replace the slug block with explicit Anthropic model definitions (Claude Sonnet
4.6 + Claude Opus 4.6), mirroring core/config/onboarding.ts. Legacy slug-based
anthropic blocks in an existing config are now migrated to explicit defs.

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(cli): update headless e2e for explicit default model

With the default config now creating an explicit Anthropic model (instead of
an unresolvable slug), the headless run reaches the provider and fails on the
invalid API key rather than failing earlier with "no model specified".

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 14:36:13 -07:00
..
cli fix(cli): use explicit model definitions in default config instead of Hub slugs (#12804) 2026-06-18 14:36:13 -07:00
intellij Merge upstream continuedev/continue main into continue-fork 2026-06-06 16:33:24 -07:00
vscode Final release cleanup: remove CLI banner & Generate Rule, explicit onboarding/config models, deprecation link (#12634) 2026-06-15 09:09:30 -07:00