diff --git a/litellm/utils.py b/litellm/utils.py index a69246bdd..cb901d219 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -1153,7 +1153,7 @@ def get_model_list(): # update model list model_list = data["model_list"] return model_list - return None # return None by default + return [] # return empty list by default except: print_verbose(f"[Non-Blocking Error] get_all_keys error - {traceback.format_exc()}") diff --git a/pyproject.toml b/pyproject.toml index 486cc6b18..df5be8806 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm" -version = "0.1.462" +version = "0.1.464" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License"