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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_archive.py | ||
| test_builder.py | ||
| test_cli.py | ||
| test_config.py | ||
| test_expand.py | ||
| test_graph.py | ||
| test_image.py | ||
| test_prompt.py | ||
| test_providers.py | ||
| test_resolve.py | ||
| test_state.py | ||