Allow non-itemized js_repl output in remote view_image test

This commit is contained in:
pakrym-oai
2026-03-20 09:29:16 -07:00
parent 24e17410ce
commit 6d634e3753
+1 -10
View File
@@ -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"),
}