mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +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
Reference in a new issue