mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 16:37:46 +08:00
feat(gateway): add Codex Live and OpenAI Realtime
Implement preflighted Live/Realtime WebSocket transports, protocol-aware authentication, usage auditing, UI filtering, and legacy Codex permission migration.
This commit is contained in:
@@ -248,6 +248,12 @@ mod tests {
|
||||
sanitize_access_log_path("/v1/live/rtc_secret_opaque?token=hidden"),
|
||||
"/v1/live/{call_id}"
|
||||
);
|
||||
assert_eq!(
|
||||
sanitize_access_log_path(
|
||||
"/v1/realtime?model=gpt-realtime-2.1&api_key=secret&token=hidden"
|
||||
),
|
||||
"/v1/realtime?model=gpt-realtime-2.1"
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test(flavor = "current_thread")]
|
||||
|
||||
Reference in New Issue
Block a user