Codex Desktop incorrectly sends Azure Image Generation request for normal text chat while Codex CLI works correctly

Open 💬 5 comments Opened Jul 9, 2026 by drczsr

What version of the Codex App are you using (From “About Codex” dialog)?

版本 26.623.141536 • 发布于 Jul 7, 2026

What subscription do you have?

azure openai

What platform is your computer?

macos

What issue are you seeing?

imagegen deployment must be provided through header:
x-ms-oai-image-generation-deploym

<img width="3360" height="1860" alt="Image" src="https://github.com/user-attachments/assets/0f33c563-75d8-4c29-8a2b-5dd3db15ec1a" />

What steps can reproduce the bug?

对话就会出现

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗