From ecdc7abfd89cfdd137e2bf50f2b6cbecbbd83921 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 21 Aug 2023 06:05:45 -0700 Subject: [PATCH] updates --- litellm/__pycache__/main.cpython-311.pyc | Bin 28500 -> 28502 bytes litellm/main.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/__pycache__/main.cpython-311.pyc b/litellm/__pycache__/main.cpython-311.pyc index f9e652468489bbfe3a7f302254a86b208c2efaff..ddbb1fe6c793dabc6eeb5d6cf93991e84eded3d3 100644 GIT binary patch delta 83 zcmca|kMY_)M&9MTyj%=Gusz{%O7lkEi9D0{@bGV5%j3udX8h&5Wytt=^9=`07S0Pg cHWw9buPEA1u5y#wtnBK~h!EOb<#tO002!JeHUIzs delta 89 zcmcb1kMYVqM&9MTyj%=GP+a>crEw$gM4rhVoN|-r@$hdx&7;f&=ScJKF=TwW`G$ig f3&#roi;6Z^6m2HgxJhkRarI|}i)^lOyQKjDe$gM$ diff --git a/litellm/main.py b/litellm/main.py index 63f4e88fe..50b43a4d3 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -186,7 +186,7 @@ def completion( # set API KEY if not api_key and litellm.openai_key: api_key = litellm.openai_key - elif not api_key and get_secret("AZURE_API_KEY"): + elif not api_key and get_secret("OPENAI_API_KEY"): api_key = get_secret("OPENAI_API_KEY") openai.api_key = api_key @@ -218,7 +218,7 @@ def completion( # set API KEY if not api_key and litellm.openai_key: api_key = litellm.openai_key - elif not api_key and get_secret("AZURE_API_KEY"): + elif not api_key and get_secret("OPENAI_API_KEY"): api_key = get_secret("OPENAI_API_KEY") openai.api_key = api_key diff --git a/pyproject.toml b/pyproject.toml index 58ec89de7..066401217 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm" -version = "0.1.436" +version = "0.1.437" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License"