forked from phoenix/litellm-mirror
build(ui): add vertex ai models via ui
This commit is contained in:
parent
0d2a75d301
commit
e4bcc51e44
33 changed files with 131 additions and 92 deletions
|
@ -7116,8 +7116,9 @@ async def model_info_v2(
|
|||
if k not in model_info:
|
||||
model_info[k] = v
|
||||
model["model_info"] = model_info
|
||||
# don't return the api key
|
||||
# don't return the api key / vertex credentials
|
||||
model["litellm_params"].pop("api_key", None)
|
||||
model["litellm_params"].pop("vertex_credentials", None)
|
||||
|
||||
verbose_proxy_logger.debug("all_models: %s", all_models)
|
||||
return {"data": all_models}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue