mirror of
https://github.com/openai/codex.git
synced 2026-11-08 20:40:33 +00:00
Add request_user_input auto resolution contract
This commit is contained in:
@@ -687,6 +687,7 @@ pub(crate) async fn apply_bespoke_event_handling(
|
||||
turn_id: request.turn_id,
|
||||
item_id: request.call_id,
|
||||
questions,
|
||||
auto_resolution_ms: request.auto_resolution_ms,
|
||||
};
|
||||
let (pending_request_id, rx) = outgoing
|
||||
.send_request(ServerRequestPayload::ToolRequestUserInput(params))
|
||||
|
||||
@@ -1259,6 +1259,7 @@ mod tests {
|
||||
turn_id: "turn-1".to_string(),
|
||||
item_id: "call-1".to_string(),
|
||||
questions: vec![],
|
||||
auto_resolution_ms: None,
|
||||
},
|
||||
))
|
||||
.await;
|
||||
@@ -1321,6 +1322,7 @@ mod tests {
|
||||
turn_id: "turn-1".to_string(),
|
||||
item_id: "call-1".to_string(),
|
||||
questions: vec![],
|
||||
auto_resolution_ms: None,
|
||||
},
|
||||
))
|
||||
.await;
|
||||
|
||||
@@ -1081,6 +1081,7 @@ mod thread_processor_behavior_tests {
|
||||
turn_id: "turn-1".to_string(),
|
||||
item_id: "call-1".to_string(),
|
||||
questions: vec![],
|
||||
auto_resolution_ms: None,
|
||||
},
|
||||
))
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user