Skip to content

feat(image-gen): add OpenAI Codex image edit provider - #40491

Closed
BeliefanX wants to merge 1 commit into
NousResearch:mainfrom
BeliefanX:feat/openai-codex-image-edit-provider
Closed

feat(image-gen): add OpenAI Codex image edit provider#40491
BeliefanX wants to merge 1 commit into
NousResearch:mainfrom
BeliefanX:feat/openai-codex-image-edit-provider

Conversation

@BeliefanX

@BeliefanX BeliefanX commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds prompt-guided image editing support to the OpenAI Codex/ChatGPT-auth image provider.
  • Sends ordered reference images through the Codex Responses image_generation tool with action: "edit".
  • Validates data URLs and constrains local file references to Hermes image-cache roots before upload/forwarding.

Relationship

Testing

  • venv/bin/python -m py_compile plugins/image_gen/openai-codex/__init__.py tests/plugins/image_gen/test_openai_codex_provider.py
  • venv/bin/python -m pytest tests/plugins/image_gen/test_openai_codex_provider.py -q -o 'addopts=' — 28 passed
  • custom static guard confirmed no sort/set/dedupe in the reference collection path
  • git diff --check

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have tool/vision Vision analysis and image generation comp/plugins Plugin system and bundled plugins provider/openai OpenAI / Codex Responses API labels Jun 6, 2026
@BeliefanX

Copy link
Copy Markdown
Contributor Author

Superseded by the merged unified image-to-image/Codex implementation in #48705 and its follow-up Codex input support; closing this stale conflicting branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have provider/openai OpenAI / Codex Responses API tool/vision Vision analysis and image generation type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants