Option for LiteLLM to manage API keys (#604)

This commit is contained in:
Abhishek
2024-08-30 02:57:44 +05:30
committed by GitHub
parent ab6b475c9d
commit aac2f5461b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ dependencies = [
[project.optional-dependencies]
litellm = [
"litellm == 1.24.5"
"litellm == 1.42.5"
]
test = [
"pytest >= 7.2.2, < 8.0.0",
+1
View File
@@ -23,6 +23,7 @@ if use_litellm:
completion = litellm.completion
litellm.suppress_debug_info = True
additional_kwargs.pop("api_key")
else:
from openai import OpenAI