diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index 61f5ef3751..f2e0bd0457 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -775,6 +775,8 @@ def test_completion_with_fallbacks(): def test_completion_with_fallbacks_multiple_keys(): + print(f"backup key 1: {os.getenv('BACKUP_OPENAI_API_KEY_1')}") + print(f"backup key 2: {os.getenv('BACKUP_OPENAI_API_KEY_2')}") backup_keys = [{"api_key": os.getenv("BACKUP_OPENAI_API_KEY_1")}, {"api_key": os.getenv("BACKUP_OPENAI_API_KEY_2")}] try: api_key = "bad-key" @@ -784,7 +786,8 @@ def test_completion_with_fallbacks_multiple_keys(): # Add any assertions here to check the response print(response) except Exception as e: - pytest.fail(f"Error occurred: {e}") + error_str = traceback.format_exc() + pytest.fail(f"Error occurred: {error_str}") # test_completion_with_fallbacks_multiple_keys() # def test_petals(): diff --git a/pyproject.toml b/pyproject.toml index 17a421e180..0b7a12d9c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm" -version = "0.1.759" +version = "0.1.760" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License"