mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-07-07 14:45:00 +00:00
Fix code formatting for CI
This commit is contained in:
parent
6ca3514261
commit
63ef121e18
8 changed files with 101 additions and 79 deletions
|
@ -34,8 +34,7 @@ async def with_options_example():
|
|||
)
|
||||
|
||||
async for message in query(
|
||||
prompt="Explain what Python is in one sentence.",
|
||||
options=options
|
||||
prompt="Explain what Python is in one sentence.", options=options
|
||||
):
|
||||
if isinstance(message, AssistantMessage):
|
||||
for block in message.content:
|
||||
|
@ -55,7 +54,7 @@ async def with_tools_example():
|
|||
|
||||
async for message in query(
|
||||
prompt="Create a file called hello.txt with 'Hello, World!' in it",
|
||||
options=options
|
||||
options=options,
|
||||
):
|
||||
if isinstance(message, AssistantMessage):
|
||||
for block in message.content:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue