[Bugfix] Use current OpenAI audio event names in duplex client metrics (#7541)

Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
This commit is contained in:
Yueqian Lin authored and GitHub committed 2026-09-15 08:19:21 +08:00
1 parent 01f4479138
commit 5385dda4fe
3 files changed
+6 -6

No files matched your search

@@ -389,7 +389,7 @@ def test_cli_generate_partial_resume_merges_metrics(tmp_path: Path, monkeypatch:
def test_collect_duplex_session_metrics_matches_omniinteract_window():
collector = EventCollector()
audio = {
"type": "response.audio.delta",
"type": "response.output_audio.delta",
"response_id": "r1",
"format": "pcm16",
"delta": base64.b64encode(bytes((1, 0)) * 2400).decode(),