mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix(lint): add strict=False to zip() in using_grok example
Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -81,7 +81,7 @@ async def async_grok_usage():
|
||||
print("Concurrent requests to Grok, Claude, and GPT-4:")
|
||||
responses = await asyncio.gather(*tasks)
|
||||
|
||||
for i, (model, response) in enumerate(zip(["Grok", "Claude", "GPT-4"], responses)):
|
||||
for i, (model, response) in enumerate(zip(["Grok", "Claude", "GPT-4"], responses, strict=False)):
|
||||
print(f"\n{model} Response:")
|
||||
print(response.choices[0].message.content[:200] + "...")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user