| 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}" | |