-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Supporting Azure OpenAI #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
LiteLLM potentially might help https://docs.litellm.ai/docs/ |
We should be able to bake in Azure OpenAI support directly from the 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. |
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. |
Deployment name for the model will also be required for AOAI |
Please also consider implementing azure_ad_token (or the like) so that enterprises don’t have to communicate and manage AOAI API keys. |
Working on it - #92 |
Following, if someone successfully gets it running please update this thread. thank you x 1000000. |
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 |
PR is being worked on in #769 |
Supporting Azure OpenAI
The text was updated successfully, but these errors were encountered: