mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix(proxy): support vertex_ai credentials in team model_config overrides
Signed-off-by: Jongho RHEE <20234994+jonghorhee@users.noreply.github.com>
This commit is contained in:
parent
60fc121ce8
commit
ceb7daaff9
1 changed files with 1 additions and 1 deletions
|
|
@ -3741,7 +3741,7 @@ def _apply_credential_overrides_from_model_config(
|
|||
return
|
||||
|
||||
# Apply credential overrides only for keys not already in the request
|
||||
for key in ("api_base", "api_key", "api_version"):
|
||||
for key in ("api_base", "api_key", "api_version", "vertex_project", "vertex_location", "vertex_credentials"):
|
||||
if key in credential_values and key not in data:
|
||||
data[key] = credential_values[key]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue