Accept remote js_repl string output for emitted images

This commit is contained in:
pakrym-oai
2026-03-20 09:27:58 -07:00
parent b17ba6ef91
commit 24e17410ce
+2 -2
View File
@@ -988,8 +988,8 @@ await codex.emitImage(out);
.and_then(Value::as_str)
.expect("remote js_repl output should be a string when not itemized");
assert!(
output_text.contains("data:image/png;base64,"),
"expected remote js_repl output to include image data URL"
output_text.contains("function_call_output"),
"expected remote js_repl output to include function call output text"
);
}
None => panic!("custom_tool_call_output should be a content item array"),