hokusai/tests
Konstantin Fickel d90db2933e
fix: wrap image bytes in BytesIO for gpt-image edit endpoint
The OpenAI SDK's legacy multipart path only accepts dall-e-2 when
raw bytes are passed. Wrapping in io.BytesIO with a name attribute
routes through the newer path that supports gpt-image-* models.

Also removes output_format from the edit call as that endpoint
does not support it.
2026-03-05 21:21:26 +01:00
..
__init__.py test: add integration tests for all modules 2026-02-14 11:07:36 +01:00
conftest.py chore: rename bulkgen to hokusai 2026-02-20 17:08:12 +01:00
test_archive.py feat: add archive_folder support for preserving previous generations 2026-02-21 11:36:45 +01:00
test_builder.py feat: clean up stale targets removed from config on next build 2026-02-21 18:51:39 +01:00
test_cli.py feat: add regenerate command to force rebuild of specific targets 2026-02-21 11:46:07 +01:00
test_config.py feat: add content targets and loop expansion for target templates 2026-02-21 18:39:13 +01:00
test_expand.py feat: add content targets and loop expansion for target templates 2026-02-21 18:39:13 +01:00
test_graph.py feat: add prompt placeholder substitution with {filename} syntax 2026-02-20 21:20:29 +01:00
test_image.py feat: ensure image output format matches file extension 2026-02-21 19:04:33 +01:00
test_prompt.py test: add nine-backslash escape test for prompt placeholders 2026-02-20 21:20:30 +01:00
test_providers.py fix: wrap image bytes in BytesIO for gpt-image edit endpoint 2026-03-05 21:21:26 +01:00
test_resolve.py feat: add download target type for fetching files from URLs 2026-02-20 21:20:26 +01:00
test_state.py chore: rename bulkgen to hokusai 2026-02-20 17:08:12 +01:00