mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix if
This commit is contained in:
parent
728a7de609
commit
8d4d90ce1f
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def get_azure_ad_token_provider() -> Callable[[], str]:
|
|||
client_secret=os.environ["AZURE_CLIENT_SECRET"],
|
||||
tenant_id=os.environ["AZURE_TENANT_ID"],
|
||||
)
|
||||
if cred == "ManagedIdentityCredential":
|
||||
elif cred == "ManagedIdentityCredential":
|
||||
credential = cred_cls(client_id=os.environ["AZURE_CLIENT_ID"])
|
||||
else:
|
||||
credential = cred_cls()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue