openai-image-gen: validate --background and --style options#36762
Conversation
Greptile SummaryThis PR adds early CLI validation for the Key changes:
Minor issue:
Confidence Score: 4/5
Last reviewed commit: 0677a5f |
323c010 to
9d232d2
Compare
|
Pushed a follow-up cleanup to this branch. The diff now includes the added empty-input coverage, warning coverage for incompatible models, a changelog entry with attribution, and the Python import-order fix that was tripping |
* main: Mattermost: harden interaction callback binding (openclaw#38057) WhatsApp: honor outbound mediaMaxMb (openclaw#38097) openai-image-gen: validate --background and --style options (openclaw#36762) Docs: align BlueBubbles media cap wording Telegram/Discord: honor outbound mediaMaxMb uploads (openclaw#38065) CI: run changed-scope on main pushes Skills/nano-banana-pro: clarify MEDIA token comment (openclaw#38063) nano-banana-pro: respect explicit --resolution when editing images (openclaw#36880) CI: drop unused install-smoke bootstrap fix(nano-banana-pro): remove space after MEDIA: token in generate_image.py (openclaw#18706) docs: context engine docs(config): list the context engine plugin slot docs(plugins): add context-engine manifest kind example docs(plugins): document context engine slots and registration docs(protocol): document slash-delimited schema lookup plugin ids docs(tools): document slash-delimited config schema lookup paths fix(session): tighten direct-session webchat routing matching (openclaw#37867) feature(context): extend plugin system to support custom context management (openclaw#22201) Gateway: allow slash-delimited schema lookup paths
…#36762) * openai-image-gen: validate --background and --style inputs * Skills/openai-image-gen: warn on ignored background and style flags * Skills/openai-image-gen: cover empty and warning cases * Changelog: note openai image flag validation * Skills/openai-image-gen: fix Python import order --------- Co-authored-by: Vincent Koc <[email protected]>
…#36762) * openai-image-gen: validate --background and --style inputs * Skills/openai-image-gen: warn on ignored background and style flags * Skills/openai-image-gen: cover empty and warning cases * Changelog: note openai image flag validation * Skills/openai-image-gen: fix Python import order --------- Co-authored-by: Vincent Koc <[email protected]>
…#36762) * openai-image-gen: validate --background and --style inputs * Skills/openai-image-gen: warn on ignored background and style flags * Skills/openai-image-gen: cover empty and warning cases * Changelog: note openai image flag validation * Skills/openai-image-gen: fix Python import order --------- Co-authored-by: Vincent Koc <[email protected]>
…#36762) * openai-image-gen: validate --background and --style inputs * Skills/openai-image-gen: warn on ignored background and style flags * Skills/openai-image-gen: cover empty and warning cases * Changelog: note openai image flag validation * Skills/openai-image-gen: fix Python import order --------- Co-authored-by: Vincent Koc <[email protected]>
…#36762) * openai-image-gen: validate --background and --style inputs * Skills/openai-image-gen: warn on ignored background and style flags * Skills/openai-image-gen: cover empty and warning cases * Changelog: note openai image flag validation * Skills/openai-image-gen: fix Python import order --------- Co-authored-by: Vincent Koc <[email protected]>
…#36762) * openai-image-gen: validate --background and --style inputs * Skills/openai-image-gen: warn on ignored background and style flags * Skills/openai-image-gen: cover empty and warning cases * Changelog: note openai image flag validation * Skills/openai-image-gen: fix Python import order --------- Co-authored-by: Vincent Koc <[email protected]>
…#36762) Co-authored-by: Vincent Koc <[email protected]> (cherry picked from commit 20038fb9556b8f46e6a4eec8f8cd0b1e3cb12c87)
…#36762) Co-authored-by: Vincent Koc <[email protected]> (cherry picked from commit 20038fb9556b8f46e6a4eec8f8cd0b1e3cb12c87)
What changed
--backgroundand--styleinskills/openai-image-gen/scripts/gen.py.skills/openai-image-gen/scripts/test_gen.py.Why
--background/--style, which is confusing CLI behavior.Testing
python3 -m ruff check skills/openai-image-gen/scripts/test_gen.pypython3 -m pytest -q skills/openai-image-gen/scripts/test_gen.py(14 passed)Fixes #36763