Commit 7ec7506
Make azure_ad_token_provider customizable. (#4931)
## 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
- [ x] I've included any doc changes needed for
https://microsoft.github.io/autogen/. See
https://microsoft.github.io/autogen/docs/Contribute#documentation to
build and test documentation locally.
- [ x] I've made sure all auto checks have passed.
---------
Co-authored-by: Ryan Sweet <[email protected]>
Co-authored-by: Jack Gerrits <[email protected]>
Co-authored-by: Jack Gerrits <[email protected]>1 parent 14fbb3b commit 7ec7506
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
478 | 481 | | |
479 | | - | |
| 482 | + | |
480 | 483 | | |
481 | 484 | | |
482 | 485 | | |
| |||
0 commit comments