mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-12-23 09:19:52 +00:00
Fix example not to background
This commit is contained in:
parent
b3718cde80
commit
cc81142feb
1 changed files with 2 additions and 2 deletions
|
|
@ -429,8 +429,8 @@ async def example_error_handling():
|
|||
await client.connect()
|
||||
|
||||
# Send a message that will take time to process
|
||||
print("User: Run a bash sleep command for 60 seconds")
|
||||
await client.query("Run a bash sleep command for 60 seconds")
|
||||
print("User: Run a bash sleep command for 60 seconds not in the background")
|
||||
await client.query("Run a bash sleep command for 60 seconds not in the background")
|
||||
|
||||
# Try to receive response with a short timeout
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue