Skip to content

fix(aws-bedrock): drop compact-2026-01-12 on Converse - #2160

Merged
gowthamvadisetti merged 1 commit into
mainfrom
fix/bedrock-converse-compact-beta
Aug 13, 2026
Merged

fix(aws-bedrock): drop compact-2026-01-12 on Converse#2160
gowthamvadisetti merged 1 commit into
mainfrom
fix/bedrock-converse-compact-beta

Conversation

@gowthamvadisetti

@gowthamvadisetti gowthamvadisetti commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Context

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.

Changes

providers/aws-bedrock/provider-config.yamlconverse.compact-2026-01-12null, so it is dropped on that path. This matches how the column already handles tool-search-tool-2025-10-19, which AWS scopes to InvokeModel in the same way.

The invoke column is unchanged — compaction is supported there.

Verification

  • npm run validate: 3305 passed / 0 failed. npm run lint:yaml clean.
  • dist/provider-configs.json: converse.compact-2026-01-12 = null (column now 13 forwards, was 14); invoke.compact-2026-01-12 unchanged.

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.
@gowthamvadisetti
gowthamvadisetti merged commit c2c6bf8 into main Aug 13, 2026
6 checks passed
@gowthamvadisetti
gowthamvadisetti deleted the fix/bedrock-converse-compact-beta branch August 13, 2026 14:37
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