forked from phoenix/litellm-mirror
fix - better debugging for adding new models
This commit is contained in:
parent
79451242c8
commit
68e0c93246
1 changed files with 3 additions and 2 deletions
|
@ -2401,7 +2401,8 @@ class ProxyConfig:
|
|||
new_models = (
|
||||
await prisma_client.db.litellm_proxymodeltable.find_many()
|
||||
) # get all models in db
|
||||
# verbose_proxy_logger.debug(f"new_models: {new_models}")
|
||||
verbose_proxy_logger.debug(f"len new_models: {len(new_models)}")
|
||||
|
||||
_model_list: list = []
|
||||
for m in new_models:
|
||||
_litellm_params = m.litellm_params
|
||||
|
@ -2444,7 +2445,7 @@ class ProxyConfig:
|
|||
)
|
||||
else:
|
||||
new_models = await prisma_client.db.litellm_proxymodeltable.find_many()
|
||||
# verbose_proxy_logger.debug(f"new_models: {new_models}")
|
||||
verbose_proxy_logger.debug(f"len new_models: {len(new_models)}")
|
||||
|
||||
for m in new_models:
|
||||
_litellm_params = m.litellm_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue