microsoft / autogen

A programming framework for agentic AI 🤖
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
34.65k stars 5.01k forks source link

Console to return last processed message #4277

Closed gziz closed 1 day ago

gziz commented 2 days ago

What feature would you like to be added?

Console to return the last processed message, either a TaskResultor Response.

Why is this needed?

As useful as it currently is, in addition to logging the stream of messages, there are use cases where returning the last processed message can be convenient. If the logic of an application required the last processed message, it would be impossible to use Consolesince it does not currently return anything.