mirror of
https://github.com/openai/codex.git
synced 2026-11-02 19:43:24 +00:00
Accept remote js_repl string output for emitted images
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user