openai-image-gen: validate and normalize --output-format#36648
Conversation
Greptile SummaryThis PR adds Key strengths:
Minor test gaps:
Confidence Score: 4/5
Last reviewed commit: 4189b01 |
c619daa to
de7f8e0
Compare
|
Pushed a follow-up cleanup to this branch. The diff now includes the added pass-through / empty-input coverage, warning coverage for incompatible models, a changelog entry with attribution, and the Python import-order fix that was tripping |
c5bff22 to
3bb32a9
Compare
|
Rebased this branch onto current The overlap in Local verification on the rebased branch:
|
What changed
normalize_output_format()inskills/openai-image-gen/scripts/gen.pyto normalize and validate--output-formatfor GPT image models.jpgtojpegfor user convenience.--output-formatwhen the selected model does not support that flag.Why
Testing
python3 -m ruff check skills/openai-image-gen/scripts/test_gen.pypython3 -m pytest -q skills/openai-image-gen/scripts/test_gen.py(11 passed)Fixes #36649