fix(gateway): support current Codex Realtime live routes

This commit is contained in:
ZheFox
2026-08-23 02:51:49 +08:00
parent ea4453321d
commit 2cd20da1ec
18 changed files with 3540 additions and 254 deletions
@@ -254,6 +254,12 @@ mod tests {
),
"/v1/realtime?model=gpt-realtime-2.1"
);
assert_eq!(
sanitize_access_log_path(
"/v1/realtime?intent=quicksilver&call_id=rtc_secret_opaque&model=gpt-realtime-1.5&api_key=secret"
),
"/v1/realtime?call_id=%7Bcall_id%7D&model=gpt-realtime-1.5"
);
}
#[tokio::test(flavor = "current_thread")]