support async
This commit is contained in:
@@ -113,13 +113,13 @@ def main():
|
||||
print(f"\nUsing base_url = {BASE_URL}\n")
|
||||
|
||||
# Test both streaming and non-streaming
|
||||
# streaming_result = test_streaming()
|
||||
streaming_result = test_streaming()
|
||||
non_streaming_result = test_non_streaming()
|
||||
|
||||
print("\n" + "="*60)
|
||||
print("SUMMARY")
|
||||
print("="*60)
|
||||
# print(f"Streaming response length: {len(streaming_result)}")
|
||||
print(f"Streaming response length: {len(streaming_result)}")
|
||||
print(f"Non-streaming response length: {len(non_streaming_result)}")
|
||||
print("\nBoth tests completed successfully!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user