mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(chore) testing reset callbacks
This commit is contained in:
parent
fc8b54eb73
commit
15439a6aa9
1 changed files with 6 additions and 1 deletions
|
@ -58,10 +58,15 @@ def test_acompletion_sync():
|
||||||
print(f"error occurred: {traceback.format_exc()}")
|
print(f"error occurred: {traceback.format_exc()}")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
asyncio.run(completion_call())
|
asyncio.run(completion_call())
|
||||||
# test_acompletion_sync()
|
# test_acompletion_sync()
|
||||||
|
|
||||||
|
|
||||||
|
# reset callbacks
|
||||||
|
litellm.input_callback = []
|
||||||
|
litellm.success_callback = []
|
||||||
|
litellm.failure_callback = []
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue