mirror of
https://github.com/openai/codex.git
synced 2026-11-16 06:54:36 +00:00
Use Responses compaction for Amazon Bedrock (#39825)
## What changed - Switch Amazon Bedrock remote compaction to `compaction_trigger` items sent through `/v1/responses`. - Remove the legacy dedicated compaction protocol from provider capabilities. - Default remote compaction to unsupported and explicitly enable it for OpenAI, Azure Responses, and Amazon Bedrock providers. ## Testing - Cover manual and automatic Amazon Bedrock compaction requests and their compacted history. - Verify remote-compaction capabilities for configured and Amazon Bedrock providers. GitOrigin-RevId: cf9ba314595367518b37a85f334f0c105ce47e45
This commit is contained in:
1 parent
54201093d4
commit
f20b63e85c
5 files changed
+72
-44
No files matched your search
@@ -1223,7 +1223,7 @@ async fn run_auto_compact(
|
||||
)
|
||||
.await?;
|
||||
}
|
||||
RemoteCompactionSupport::V1 | RemoteCompactionSupport::V2 => {
|
||||
RemoteCompactionSupport::V2 => {
|
||||
emit_compact_metric(
|
||||
&sess.services.session_telemetry,
|
||||
"remote",
|
||||
|
||||
Reference in new issue
Block a user