adding testing to make sure litedebugger is opt-in only

This commit is contained in:
Krrish Dholakia 2023-08-30 09:55:33 -07:00
parent 894776e1c4
commit eb33e1fa71
4 changed files with 11 additions and 10 deletions

View file

@ -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: