Add Claude Opus 4.7 and Claude Mythos Preview models#9
Open
kiro-agent[bot] wants to merge 1 commit into
Open
Conversation
Co-authored-by: Aaron Longwell <27492+adlio@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
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.
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:
ClaudeOpus4_7) - Next-generation flagship Claude model (added to Anthropic SDK on April 16, 2026)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 newdefine_model!invocationsmixtape-core/src/models/mod.rs- Added both models totest_model_ids_are_validandtest_global_inference_profile_modelstest vectorsmixtape-core/src/lib.rs- Added both models to the public re-export blockWhat was tested
cargo buildpassescargo clippypasses with no warningscargo 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.