fix:completion fails when client=True&no email set

This commit is contained in:
ishaan-jaff 2023-09-08 12:36:21 -07:00
parent 411db63133
commit 5a047d8b7a
3 changed files with 5 additions and 6 deletions

View file

@ -1061,7 +1061,7 @@ def set_callbacks(callback_list, function_id=None):
elif litellm.email:
liteDebuggerClient = LiteDebugger(email=litellm.email)
else:
liteDebuggerClient = LiteDebugger()
liteDebuggerClient = LiteDebugger(email=str(uuid.uuid4()))
except Exception as e:
raise e