mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-05 00:47:48 +08:00
test(codex): 对齐 Compact 确定性缓存身份
This commit is contained in:
@@ -657,7 +657,8 @@ async fn gateway_executes_openai_responses_compact_as_unary_request_impl() {
|
||||
);
|
||||
assert_eq!(
|
||||
seen_execution_runtime_request.body["prompt_cache_key"],
|
||||
json!("session:compact-e2e")
|
||||
// Compact omits client_metadata, but keeps the same deterministic Codex cache identity.
|
||||
json!("f3eb8726-b7b2-56c5-90b5-8789d628c8cf")
|
||||
);
|
||||
assert_eq!(
|
||||
seen_execution_runtime_request.proxy_node_id,
|
||||
|
||||
Reference in New Issue
Block a user