Skip to content

Commit 19666d6

Browse files
aibrahim-oaicodex
andcommitted
Fix realtime parser item_id handling and test callsites
Preserve item_id on v1 audio deltas and annotate opaque None arguments in calls URL tests so argument-comment lint passes. Co-authored-by: Codex <noreply@openai.com>
1 parent 7eca41e commit 19666d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • codex-rs/codex-api/src/endpoint/realtime_websocket

codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ mod tests {
988988
fn calls_url_from_api_url_appends_quicksilver_intent_for_v1() {
989989
let calls_url = calls_url_from_api_url(
990990
"wss://example.com/v1/realtime",
991-
None,
991+
/*query_params*/ None,
992992
Some("quicksilver-test-model"),
993993
RealtimeEventParser::V1,
994994
)
@@ -1004,7 +1004,7 @@ mod tests {
10041004
fn calls_url_from_api_url_omits_intent_for_v2() {
10051005
let calls_url = calls_url_from_api_url(
10061006
"wss://example.com/v1/realtime",
1007-
None,
1007+
/*query_params*/ None,
10081008
Some("gpt-realtime"),
10091009
RealtimeEventParser::RealtimeV2,
10101010
)
@@ -1020,7 +1020,7 @@ mod tests {
10201020
fn calls_url_from_api_url_appends_calls_path_to_chatgpt_base_url() {
10211021
let calls_url = calls_url_from_api_url(
10221022
"https://chatgpt.com/backend-api/codex",
1023-
None,
1023+
/*query_params*/ None,
10241024
Some("gpt-realtime"),
10251025
RealtimeEventParser::RealtimeV2,
10261026
)

0 commit comments

Comments
 (0)