Skip to content

Make azure_ad_token_provider customizable.#4931

Merged
jackgerrits merged 5 commits intomicrosoft:0.2from
chinganc:0.2
Feb 25, 2025
Merged

Make azure_ad_token_provider customizable.#4931
jackgerrits merged 5 commits intomicrosoft:0.2from
chinganc:0.2

Conversation

@chinganc
Copy link
Copy Markdown

@chinganc chinganc commented Jan 7, 2025

Why are these changes needed?

Currently, when using azure openai, azure_ad_token_provider in OAI_CONFIG_LIST can only take a value of "DEFAULT" which uses the default token provider "https://cognitiveservices.azure.com/.default".

This patch would allow users providing custom token providers by setting azure_ad_token_provider to other values.

Checks

@ekzhu
Copy link
Copy Markdown
Contributor

ekzhu commented Jan 7, 2025

You can run pre-commit --all-files to fix the formating

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants