feat(provider): add Claude Opus 4.7 and set as default model#118
Merged
yishuiliunian merged 1 commit intomainfrom Apr 17, 2026
Merged
feat(provider): add Claude Opus 4.7 and set as default model#118yishuiliunian merged 1 commit intomainfrom
yishuiliunian merged 1 commit intomainfrom
Conversation
Upgrade the Anthropic model catalog with the latest flagship model so new users get the strongest coding model by default, without having to override the model string. - Add claude-opus-4-7 (1M context, 128K output, Adaptive thinking) to provider catalog alongside Opus 4.6 - Switch Settings::default model from claude-sonnet-4-20250514 to claude-opus-4-7; update Makefile run target default MODEL to match - Sync CLAUDE.md / LOOPAL.md / README.md default-model references - Add unit tests for Opus 4.7 metadata and provider resolution - Update default-value assertions in config and kernel tests; fixture defaults intentionally unchanged to keep test harness stable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claude-opus-4-7(1M context, 128K output, Adaptive thinking) to the Anthropic provider catalogSettings::default().modelfromclaude-sonnet-4-20250514toclaude-opus-4-7so new users get the latest flagship by defaultMakefilerun-target defaultChanges
Core
crates/loopal-provider/src/model_info/catalog.rs— new Opus 4.7 ModelEntry (mirrors Opus 4.6 tier metadata)crates/loopal-config/src/settings.rs— defaultmodelupdatedTests
crates/loopal-provider/tests/suite/model_info_test.rs— newtest_get_opus_4_7_model+ provider-resolution casecrates/loopal-config/tests/suite/{config,loader_settings,resolver,resolver_edge,telemetry}_test.rs— default-value assertions updatedcrates/loopal-kernel/tests/suite/kernel_init_test.rs— settings-accessor assertion updatedloopal-test-supportandloopal-runtimerouting tests intentionally left onclaude-sonnet-4-20250514to keep test harness stable and decoupled from production defaultsDocs & DevEx
CLAUDE.md,LOOPAL.md,README.md— default-model references updatedMakefile—MODEL ?= claude-opus-4-7formake run/make debugTest plan
bazel test //...— 52/52 passing locallybazel build //... --config=clippy— zero warningsbazel build //... --config=rustfmt— cleanclaude-opus-4-7(catalog + default)