Skip to content

Claude Opus 4.7#142

Merged
mike1858 merged 2 commits intomainfrom
feat/claude-opus-4-7
Apr 17, 2026
Merged

Claude Opus 4.7#142
mike1858 merged 2 commits intomainfrom
feat/claude-opus-4-7

Conversation

@mike1858
Copy link
Copy Markdown
Member

@mike1858 mike1858 commented Apr 16, 2026

Summary by CodeRabbit

  • New Features

    • Added support for Claude Opus 4.7 with pricing and cache behavior configured for accurate cost estimates.
  • Chores

    • Added repository audit configuration to manage security advisory reporting and reduce noisy advisories.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 832c9e91-7c72-496c-a8fb-ed35440e591b

📥 Commits

Reviewing files that changed from the base of the PR and between be74d41 and b9971ea.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • .cargo/audit.toml
✅ Files skipped from review due to trivial changes (1)
  • .cargo/audit.toml

📝 Walkthrough

Walkthrough

Added a new Anthropic model claude-opus-4-7 (with pricing and cache params) and model aliases; added a .cargo/audit.toml config that ignores advisory RUSTSEC-2026-0097.

Changes

Cohort / File(s) Summary
Model Index
src/models.rs
Added canonical claude-opus-4-7 ModelInfo (input_per_1m: 5.0, output_per_1m: 25.0, cache_write_per_1m: 6.25, cache_read_per_1m: 0.5, is_estimated: false) and aliases mapping (claude-opus-4-7, claude-opus-4.7 → canonical).
Cargo Audit Config
.cargo/audit.toml
Added cargo-audit configuration that suppresses advisory RUSTSEC-2026-0097 with explanatory comments about why the advisory is ignored for this project.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 A small hop—one model more to see,
Names aligned and prices set with glee,
Audit notes tucked in a tidy file,
The registry grows by just one mile,
Hooray for Claude—let tokens run free! 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Claude Opus 4.7' directly matches the main change: adding support for the new claude-opus-4-7 model with pricing and configuration details.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/claude-opus-4-7

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mike1858 mike1858 merged commit 8521934 into main Apr 17, 2026
6 checks passed
@mike1858 mike1858 deleted the feat/claude-opus-4-7 branch April 17, 2026 01:01
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.

2 participants