Skip to content

Commit 6a5464f

Browse files
committed
style: ruff format multi_turn.py example
1 parent 4916988 commit 6a5464f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎examples/example-ai-claude-agent-sdk/multi_turn.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ async def main():
3939

4040
# Turn 2 — has full conversation history
4141
print("\n> And what language do they speak there?")
42-
await client.query("And what language do they speak there? Reply in one sentence.")
42+
await client.query(
43+
"And what language do they speak there? Reply in one sentence."
44+
)
4345
async for message in client.receive_response():
4446
if isinstance(message, AssistantMessage):
4547
for block in message.content:
@@ -50,7 +52,9 @@ async def main():
5052

5153
# Turn 3 — still has context from both previous turns
5254
print("\n> How do you say 'hello' in that language?")
53-
await client.query("How do you say 'hello' in that language? Reply in one sentence.")
55+
await client.query(
56+
"How do you say 'hello' in that language? Reply in one sentence."
57+
)
5458
async for message in client.receive_response():
5559
if isinstance(message, AssistantMessage):
5660
for block in message.content:

0 commit comments

Comments
 (0)