mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix: close credential param bypass for azure model requests
This commit is contained in:
parent
bf30cc0e00
commit
b6148464f6
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ def check_complete_credentials(request_body: dict) -> bool:
|
|||
or "bedrock" in given_model
|
||||
or "vertex_ai" in given_model
|
||||
or "vertex_ai_beta" in given_model
|
||||
or "azure" in given_model
|
||||
):
|
||||
# complex credentials - easier to make a malicious request
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue