forked from phoenix/litellm-mirror
Fix usage of parameter-based credentials when using vertex_ai_beta route
This commit is contained in:
parent
46fe089204
commit
d17816dd20
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":
|
elif k == "hf_model_name" and custom_llm_provider != "sagemaker":
|
||||||
continue
|
continue
|
||||||
elif (
|
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
|
): # allow dynamically setting vertex ai init logic
|
||||||
continue
|
continue
|
||||||
passed_params[k] = v
|
passed_params[k] = v
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue