We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cde638b commit ec3fa46Copy full SHA for ec3fa46
1 file changed
examples/anycast_routing.py
@@ -54,9 +54,7 @@ async def run_summarize_agent():
54
@node.on_task
55
async def handle(task):
56
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
- )
+ await task.complete(artifacts=[{"parts": [{"text": f"[Summary of: {text[:50]}...]"}]}])
60
61
await node.serve_forever()
62
0 commit comments