microsoft / autogen

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

[.NET] Support `object` message type in `AgentBase.PublishEventAsync` #4247

Open LittleLittleCloud opened 5 days ago

LittleLittleCloud commented 5 days ago

What feature would you like to be added?

accept object message type in AgentBase.PublishEventAsync

Why is this needed?

AgentBase.PublishEventAsync requires the input message to be protobuf IMessage. If we can figure out a way to support object message type, we can make protobuf an optional config for in-memory use case.