Skip to content

Enable remote compaction for Amazon Bedrock - #36981

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d58093178605d1f8155b93d9a161408177f6ac72
Aug 4, 2026
Merged

Enable remote compaction for Amazon Bedrock#36981
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d58093178605d1f8155b93d9a161408177f6ac72

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Enable remote compaction for Amazon Bedrock

What changed

  • Add provider-owned remote compaction capabilities for unsupported, v1, and v2 protocols.
  • Mark Amazon Bedrock as v1-only so manual and automatic compaction use /v1/responses/compact, even when the v2 feature is enabled.
  • Preserve v2 support for OpenAI and Azure Responses providers and local compaction for unsupported providers.

Testing

  • Cover Amazon Bedrock manual and automatic remote compaction, including endpoint selection, authentication headers, model selection, and reuse of the compacted summary.

## What changed

- Add provider-owned remote compaction capabilities for unsupported, v1, and v2 protocols.
- Mark Amazon Bedrock as v1-only so manual and automatic compaction use `/v1/responses/compact`, even when the v2 feature is enabled.
- Preserve v2 support for OpenAI and Azure Responses providers and local compaction for unsupported providers.

## Testing

- Cover Amazon Bedrock manual and automatic remote compaction, including endpoint selection, authentication headers, model selection, and reuse of the compacted summary.

GitOrigin-RevId: d58093178605d1f8155b93d9a161408177f6ac72
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d58093178605d1f8155b93d9a161408177f6ac72 branch from 8a94751 to b9ba969 Compare August 4, 2026 22:08
@copyberry
copyberry Bot merged commit b9ba969 into main Aug 4, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d58093178605d1f8155b93d9a161408177f6ac72 branch August 4, 2026 22:08
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants