mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
bump version
This commit is contained in:
parent
d02ab9bfcd
commit
59d6703b0c
10 changed files with 16 additions and 3 deletions
|
@ -958,7 +958,7 @@ def load_test_model(
|
|||
"exception": e,
|
||||
}
|
||||
|
||||
def validate_environment(self):
|
||||
def validate_environment():
|
||||
api_key = None
|
||||
if "OPENAI_API_KEY" in os.environ:
|
||||
api_key = os.getenv("OPENAI_API_KEY")
|
||||
|
@ -968,7 +968,7 @@ def validate_environment(self):
|
|||
api_key = os.getenv("REPLICATE_API_KEY")
|
||||
elif "AZURE_API_KEY" in os.environ:
|
||||
api_key = os.getenv("AZURE_API_KEY")
|
||||
elif "COHERE_API_KEY" in os.getenv("COHERE_API_KEY"):
|
||||
elif "COHERE_API_KEY" in os.environ:
|
||||
api_key = os.getenv("COHERE_API_KEY")
|
||||
elif "TOGETHERAI_API_KEY" in os.environ:
|
||||
api_key = os.getenv("TOGETHERAI_API_KEY")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue