remove print

This commit is contained in:
Yulong Liu 2024-07-08 17:03:07 -07:00
parent cb025a7f26
commit feb42c91a6

View file

@ -2048,7 +2048,6 @@ def register_model(model_cost: Union[str, dict]):
litellm.model_cost.setdefault(key, {}).update(value) litellm.model_cost.setdefault(key, {}).update(value)
verbose_logger.debug(f"{key} added to model cost map") verbose_logger.debug(f"{key} added to model cost map")
# add new model names to provider lists # add new model names to provider lists
print(f"provider: {value.get('litellm_provider')}")
if value.get("litellm_provider") == "openai": if value.get("litellm_provider") == "openai":
if key not in litellm.open_ai_chat_completion_models: if key not in litellm.open_ai_chat_completion_models:
litellm.open_ai_chat_completion_models.append(key) litellm.open_ai_chat_completion_models.append(key)