mirror of
https://github.com/openai/codex.git
synced 2026-05-23 20:44:50 +00:00
Fix view image output polling compile error
function_call_output already returns an owned JSON value, so the remote-routing wait helper should return it directly instead of calling cloned(). Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -73,7 +73,7 @@ async fn wait_for_function_call_output(
|
||||
if let Some(output) = response_mock
|
||||
.requests()
|
||||
.iter()
|
||||
.find_map(|request| request.function_call_output(call_id).cloned())
|
||||
.find_map(|request| request.function_call_output(call_id))
|
||||
{
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user