feat: add Azure OpenAI provider support#44
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
I feel like the better fix here is for me to update https://github.com/openai/codex/tree/main/codex-rs/responses-api-proxy to be configurable such that it can forward requests to an Azure endpoint. What do you think? |
|
@cdowellmdb Specifically, I believe that |
|
Here's a draft PR for updating the proxy to support this use case: openai/codex#6129 |
|
@bolinfest I like your approach better, thanks for kicking off both PRs in I'll follow those threads with @pakrym-oai, appreciate your help on this. |
Summary
add an Azure-aware provider path to
write-proxy-config, letting the action write either the local proxy stanza or an Azure configdetect which credentials are provided at runtime so we only start the Responses proxy when an OpenAI key is present, otherwise wire Azure directly
document the new Azure inputs, including the automatic
/openainormalization to avoid 404sCloses Azure support? #38
Closes How to connect to Azure OpenAI Service? #28