mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix litellm client
This commit is contained in:
parent
8f5e2d0013
commit
e452ceb21e
4 changed files with 8 additions and 3 deletions
|
@ -1051,6 +1051,10 @@ def set_callbacks(callback_list, function_id=None):
|
|||
print_verbose(f"instantiating lite_debugger")
|
||||
if function_id:
|
||||
liteDebuggerClient = LiteDebugger(email=function_id)
|
||||
elif litellm.token:
|
||||
liteDebuggerClient = LiteDebugger(email=litellm.token)
|
||||
elif litellm.email:
|
||||
liteDebuggerClient = LiteDebugger(email=litellm.email)
|
||||
except Exception as e:
|
||||
raise e
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue