Skip to content

Clarify js_repl image emission and encoding guidance#13639

Merged
fjord-oai merged 1 commit intomainfrom
fjord/js_repl_prompt
Mar 6, 2026
Merged

Clarify js_repl image emission and encoding guidance#13639
fjord-oai merged 1 commit intomainfrom
fjord/js_repl_prompt

Conversation

@fjord-oai
Copy link
Copy Markdown
Contributor

Summary

This updates the js_repl prompt and docs to make the image guidance less confusing.

What changed

  • Clarified that codex.emitImage(...) adds one image per call and can be called multiple times to emit multiple images.
  • Reworded the image-encoding guidance to be general js_repl advice instead of ImageDetailOriginal-specific behavior.
  • Updated the guidance to recommend JPEG at about quality 85 when lossy compression is acceptable, and PNG when transparency or lossless detail matters.
  • Mirrored the same wording in the public js_repl docs.
@fjord-oai fjord-oai merged commit 1ed542b into main Mar 6, 2026
51 of 57 checks passed
@fjord-oai fjord-oai deleted the fjord/js_repl_prompt branch March 6, 2026 00:02
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants