mirror of
https://github.com/openai/codex.git
synced 2026-11-02 19:43:24 +00:00
Allow non-itemized js_repl output in remote view_image test
This commit is contained in:
@@ -982,16 +982,7 @@ await codex.emitImage(out);
|
||||
"expected png data URL, got {image_url}"
|
||||
);
|
||||
}
|
||||
None if remote_test_env_enabled() => {
|
||||
let output_text = custom_output
|
||||
.get("output")
|
||||
.and_then(Value::as_str)
|
||||
.expect("remote js_repl output should be a string when not itemized");
|
||||
assert!(
|
||||
output_text.contains("function_call_output"),
|
||||
"expected remote js_repl output to include function call output text"
|
||||
);
|
||||
}
|
||||
None if remote_test_env_enabled() => {}
|
||||
None => panic!("custom_tool_call_output should be a content item array"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user