fix(aws-bedrock): drop compact-2026-01-12 on Converse - #2160
Merged
Conversation
AWS documents compaction as InvokeModel-only: "Compaction is currently in beta. Include the beta header compact-2026-01-12 in your API requests to use this feature. Compaction is currently not supported by the Converse API, however it is supported with InvokeModel." https://docs.aws.amazon.com/bedrock/latest/userguide/claude-messages-compaction.html The converse column forwarded it anyway, so a caller sending compact-2026-01-12 to a Converse-routed Claude model had the beta passed through to an API that does not accept it. Map it to null so it is dropped on that path, matching how the column already handles tool-search-tool-2025-10-19 (also InvokeModel-only). The invoke column is unchanged: compaction is supported there.
LordGameleo
approved these changes
Aug 13, 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.
Context
AWS documents compaction as InvokeModel-only:
https://docs.aws.amazon.com/bedrock/latest/userguide/claude-messages-compaction.html
The
conversecolumn forwarded it anyway, so a caller sendingcompact-2026-01-12to a Converse-routed Claude model had the beta passed through to an API that does not accept it.Changes
providers/aws-bedrock/provider-config.yaml—converse.compact-2026-01-12→null, so it is dropped on that path. This matches how the column already handlestool-search-tool-2025-10-19, which AWS scopes to InvokeModel in the same way.The
invokecolumn is unchanged — compaction is supported there.Verification
npm run validate: 3305 passed / 0 failed.npm run lint:yamlclean.dist/provider-configs.json:converse.compact-2026-01-12=null(column now 13 forwards, was 14);invoke.compact-2026-01-12unchanged.