mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-21 08:26:34 +00:00
(ci/cd) test proxy custom logger
This commit is contained in:
+2
@@ -141,6 +141,8 @@ def test_chat_completion_stream(client):
|
||||
print("\n\nHERE is the complete streaming response string", complete_response)
|
||||
print("\n\nHERE IS the streaming Response from callback\n\n")
|
||||
print(my_custom_logger.streaming_response_obj)
|
||||
import time
|
||||
time.sleep(0.5)
|
||||
|
||||
streamed_response = my_custom_logger.streaming_response_obj
|
||||
assert complete_response == streamed_response["choices"][0]["message"]["content"]
|
||||
Reference in New Issue
Block a user