You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to bake in Azure OpenAI support directly from the openai package — likely just a few lines of changes.
import{AzureOpenAI,OpenAI}from"openai";
I might take a stab at it later today, or wire it up through GitHub agent mode if I get the chance.
Reacted by illgitthat, Ruslan, Tim Kellogg, ambwg, Manvir Kaur, Laurence Hook, LorenzoGiurintano, Fernando Munoz Mendez, omriShneor, Muly Oved and 7 more
I asked codex this question on it's own repo - and it says you should be able to set two ENV vars to redirect it:
• Set OPENAI_BASE_URL to your Azure OpenAI endpoint (e.g. https://<your‑resource>.openai.azure.com)
• Set OPENAI_API_KEY (or codex config set apiKey …) to your Azure API key
I asked codex this question on it's own repo - and it says you should be able to set two ENV vars to redirect it:
• Set OPENAI_BASE_URL to your Azure OpenAI endpoint (e.g. https://<your‑resource>.openai.azure.com)
• Set OPENAI_API_KEY (or codex config set apiKey …) to your Azure API key
I haven't given it a try yet though.
Deployment name for the model will also be required for AOAI
It would be a godsend if you supported the GH copilot api similar to how vscode utilizes models. GH copilot also has a generous free tier and is well utilized in Enterprises.
The GH OpenAi api is a slight variant on the generic OpenAI api. More information and how litellm supported it available at BerriAI/litellm#6564
Reacted by Martin Kolací, Rafael Coca Leventhal and GitMurf
Activity
ralzinov commentedon Apr 16, 2025
LiteLLM potentially might help https://docs.litellm.ai/docs/
nikhil-pandey commentedon Apr 16, 2025
We should be able to bake in Azure OpenAI support directly from the
openaipackage — likely just a few lines of changes.I might take a stab at it later today, or wire it up through GitHub agent mode if I get the chance.
rgregg commentedon Apr 16, 2025
I asked codex this question on it's own repo - and it says you should be able to set two ENV vars to redirect it:
I haven't given it a try yet though.
guygregory commentedon Apr 16, 2025
Deployment name for the model will also be required for AOAI
SeaDude commentedon Apr 16, 2025
Please also consider implementing azure_ad_token (or the like) so that enterprises don’t have to communicate and manage AOAI API keys.
Reference
thegovind commentedon Apr 16, 2025
Working on it - #92
surim0n commentedon Apr 17, 2025
Following, if someone successfully gets it running please update this thread. thank you x 1000000.
cavanaug commentedon Apr 23, 2025
It would be a godsend if you supported the GH copilot api similar to how vscode utilizes models. GH copilot also has a generous free tier and is well utilized in Enterprises.
The GH OpenAi api is a slight variant on the generic OpenAI api. More information and how litellm supported it available at BerriAI/litellm#6564
jslitzkerttcu commentedon May 7, 2025
PR is being worked on in #769
robotdad commentedon May 21, 2025
Looks like the PR for this was merged, but this does not have Entra support right? #1056 covers Entra and has a PR #1062 ready to go for that.
doggy8088 commentedon May 26, 2025
Azure OpenAI already supports the Azure OpenAI Responses API. This should be supported in Codex CLI.
docs(orchestrator): add operational reference for the orchestrator pi…
docs: retarget fork patch manifest at 0.147.0-alpha.4
rdos: 分派层收尾——escalation 注入 / reasoning 档下发 / metadata 警告降噪(P1-6)
docs: retarget fork patch manifest at 0.147.0-alpha.4
docs: retarget fork patch manifest at 0.147.0-alpha.4
Guide agents to snooze deferred work (#11)
fix(rig-bridge): tool-call state machine + custom tool round-trip
Compaction V2: 受付記録のある automation の入力を指示削除(Selection)の対象にする