DUX-12033: Remove deprecated Bedrock InvokeModel protocol - #26
Merged
samuelboland merged 1 commit intoAug 10, 2026
Merged
Conversation
staging-supernova-dx-appf-io
Bot
requested a review
from a team
as a code owner
August 10, 2026 22:08
|
Jira Issue: https://appfolio.atlassian.net/browse/DUX-12033 |
Author
|
🤖 Supernova Code Review — View trace |
Author
There was a problem hiding this comment.
Reviewed this PR — it's a clean, self-contained removal of the unused Bedrock InvokeModel protocol. Verified no dangling references remain to BedrockInvokeModel, bedrock_use_invoke_model, invoke_model?, anthropic_beta, or anthropic_context_management anywhere else in the repo at this branch's head, and the comment updates in mantle_responses.rb and bedrock.rb correctly reflect the simplified routing (mantle vs. Converse only). No actionable bugs, security issues, or missing error handling found — no inline comments.
Co-authored-by: Sam Boland <sam.boland@appfolio.com>
staging-supernova-dx-appf-io
Bot
force-pushed
the
DUX-12033-audit-invokemodel-fork-usage-ruby-llm
branch
from
August 10, 2026 22:41
d5fb23d to
69f6181
Compare
samuelboland
approved these changes
Aug 10, 2026
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.
What this does
Removes the unused Bedrock InvokeModel protocol implementation from ruby_llm. This protocol enabled access to Anthropic's beta features (context_management/server-side prompt caching) via the raw InvokeModel endpoint, but is no longer used in production across agents_app and agent_bridge. The feature was recently deprecated in favor of the standard Converse API which provides equivalent functionality.
Specifically removes:
BedrockInvokeModelprotocol class and submodules (Chat and Streaming implementations)Maintains the appfolio/ruby_llm GitHub dependency and all other fork customizations—only the obsolete InvokeModel-specific code is removed.
Type of change
Scope check
Required for new features
N/A
Quality check
overcommit --installand all hooks passbundle exec rake vcr:record[provider_name]bundle exec rspecmodels.json,aliases.json)AI-generated code
API changes
Agent session: https://staging.supernova.dx.appf.io/coders/628bd5a6-7f78-4b60-8b04-cd5a0fb0aa5b