mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
adding testing to make sure litedebugger is opt-in only
This commit is contained in:
parent
894776e1c4
commit
eb33e1fa71
4 changed files with 11 additions and 10 deletions
|
@ -438,7 +438,7 @@ def client(original_function):
|
|||
litellm.email is not None
|
||||
or os.getenv("LITELLM_EMAIL", None) is not None
|
||||
or litellm.token is not None
|
||||
or os.getenv("LITELLM_TOKEN", None)
|
||||
or os.getenv("LITELLM_TOKEN", None) is not None
|
||||
): # add to input, success and failure callbacks if user is using hosted product
|
||||
get_all_keys()
|
||||
if "lite_debugger" not in callback_list and litellm.logging:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue