File size: 299 Bytes
718aa48 |
1 2 3 4 5 6 7 8 |
def aggregate_responses(responses: list) -> str:
if not responses:
return "No responses received."
combined = "\n".join(responses)
# In real use, you’d prompt another LLM to summarize/combine them
return f"Final synthesized response based on multiple agents:\n{combined}"
|