forked from phoenix/litellm-mirror
fix - show api_base in migration script
This commit is contained in:
parent
69c095b768
commit
240aaf7af8
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ def migrate_models(config_file, proxy_base_url):
|
||||||
model_name = model.get("model_name")
|
model_name = model.get("model_name")
|
||||||
print("\nAdding model: ", model_name)
|
print("\nAdding model: ", model_name)
|
||||||
litellm_params = model.get("litellm_params", {})
|
litellm_params = model.get("litellm_params", {})
|
||||||
|
api_base = litellm_params.get("api_base", "")
|
||||||
|
print("api_base on config.yaml: ", api_base)
|
||||||
|
|
||||||
litellm_model_name = litellm_params.get("model", "") or ""
|
litellm_model_name = litellm_params.get("model", "") or ""
|
||||||
if "vertex_ai/" in litellm_model_name:
|
if "vertex_ai/" in litellm_model_name:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue