fix: close credential param bypass for azure model requests

This commit is contained in:
Yuneng Jiang 2026-04-22 15:27:04 -07:00
parent bf30cc0e00
commit b6148464f6
No known key found for this signature in database

View file

@ -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