mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
Merge pull request #4486 from ubirdio/vertex-ai-beta-fix
Fix usage of parameter-based credentials when using vertex_ai_beta route
This commit is contained in:
commit
49a72ffb51
1 changed files with 1 additions and 1 deletions
|
|
@ -2406,7 +2406,7 @@ def get_optional_params(
|
|||
elif k == "hf_model_name" and custom_llm_provider != "sagemaker":
|
||||
continue
|
||||
elif (
|
||||
k.startswith("vertex_") and custom_llm_provider != "vertex_ai"
|
||||
k.startswith("vertex_") and custom_llm_provider != "vertex_ai" and custom_llm_provider != "vertex_ai_beta"
|
||||
): # allow dynamically setting vertex ai init logic
|
||||
continue
|
||||
passed_params[k] = v
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue