Skip to content

Add Claude Opus 4.7 and Claude Mythos Preview models#9

Open
kiro-agent[bot] wants to merge 1 commit into
mainfrom
feat/add-opus-4.7-and-mythos-models
Open

Add Claude Opus 4.7 and Claude Mythos Preview models#9
kiro-agent[bot] wants to merge 1 commit into
mainfrom
feat/add-opus-4.7-and-mythos-models

Conversation

@kiro-agent
Copy link
Copy Markdown

@kiro-agent kiro-agent Bot commented Apr 30, 2026

This pull request was generated by @kiro-agent 👻

Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent


Summary

Adds two new Claude model definitions that were recently added to the Anthropic SDK but were missing from mixtape:

  • Claude Opus 4.7 (ClaudeOpus4_7) - Next-generation flagship Claude model (added to Anthropic SDK on April 16, 2026)
  • Claude Mythos Preview (ClaudeMythosPreview) - Preview model with advanced capabilities (added to Anthropic SDK on April 7, 2026)

Both models use 200K context / 128K output tokens and InferenceProfile::Global.

Changes

  • mixtape-core/src/models/claude.rs - Two new define_model! invocations
  • mixtape-core/src/models/mod.rs - Added both models to test_model_ids_are_valid and test_global_inference_profile_models test vectors
  • mixtape-core/src/lib.rs - Added both models to the public re-export block

What was tested

  • cargo build passes
  • cargo clippy passes with no warnings
  • All model tests pass (cargo test -p mixtape-core)

Note on GLM 5.5

The original request mentioned "GLM 5.5 from Z AI" but research confirmed no such model exists. GLM 4.7 and GLM 4.7 Flash (already in the repo) remain Z.AI's latest models on Bedrock.

Co-authored-by: Aaron Longwell <27492+adlio@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.45%. Comparing base (f4c5b99) to head (7adabc6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   88.45%   88.45%           
=======================================
  Files         111      111           
  Lines       24212    24216    +4     
=======================================
+ Hits        21417    21421    +4     
  Misses       2795     2795           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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