From a36593dfbd90bb31495c99234e648a558cd278ce Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 23 Aug 2023 14:50:51 -0700 Subject: [PATCH] bump model list fix --- litellm/utils.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"