Skip to content

Commit ec3fa46

Browse files
committed
style: format anycast_routing.py
1 parent cde638b commit ec3fa46

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

examples/anycast_routing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ async def run_summarize_agent():
5454
@node.on_task
5555
async def handle(task):
5656
text = task.messages[-1].parts[0].text if task.messages else ""
57-
await task.complete(
58-
artifacts=[{"parts": [{"text": f"[Summary of: {text[:50]}...]"}]}]
59-
)
57+
await task.complete(artifacts=[{"parts": [{"text": f"[Summary of: {text[:50]}...]"}]}])
6058

6159
await node.serve_forever()
6260

0 commit comments

Comments
 (0)