Skip to content

feat(provider): add Claude Opus 4.7 and set as default model#118

Merged
yishuiliunian merged 1 commit intomainfrom
feat/opus-4-7-default
Apr 17, 2026
Merged

feat(provider): add Claude Opus 4.7 and set as default model#118
yishuiliunian merged 1 commit intomainfrom
feat/opus-4-7-default

Conversation

@yishuiliunian
Copy link
Copy Markdown
Contributor

Summary

  • Add claude-opus-4-7 (1M context, 128K output, Adaptive thinking) to the Anthropic provider catalog
  • Switch Settings::default().model from claude-sonnet-4-20250514 to claude-opus-4-7 so new users get the latest flagship by default
  • Sync documentation (CLAUDE.md, LOOPAL.md, README.md) and the Makefile run-target default

Changes

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 — default model updated

Tests

  • crates/loopal-provider/tests/suite/model_info_test.rs — new test_get_opus_4_7_model + provider-resolution case
  • crates/loopal-config/tests/suite/{config,loader_settings,resolver,resolver_edge,telemetry}_test.rs — default-value assertions updated
  • crates/loopal-kernel/tests/suite/kernel_init_test.rs — settings-accessor assertion updated
  • Fixture defaults in loopal-test-support and loopal-runtime routing tests intentionally left on claude-sonnet-4-20250514 to keep test harness stable and decoupled from production defaults

Docs & DevEx

  • CLAUDE.md, LOOPAL.md, README.md — default-model references updated
  • MakefileMODEL ?= claude-opus-4-7 for make run / make debug

Test plan

  • bazel test //... — 52/52 passing locally
  • bazel build //... --config=clippy — zero warnings
  • bazel build //... --config=rustfmt — clean
  • Installed binary strings-verified to contain claude-opus-4-7 (catalog + default)
  • CI passes

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
@yishuiliunian yishuiliunian merged commit 0cee052 into main Apr 17, 2026
4 checks passed
@yishuiliunian yishuiliunian deleted the feat/opus-4-7-default branch April 17, 2026 02:43
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