mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-19 06:02:17 +00:00

We were registering the serializers when we already had a concrete type on the way into Publish or Send on the .NET side. However, in a xLang scenario, messages could originate from e.g. Python before being sent/published from .NET, resulting in no serializer being found. This change adds a second-change registration and lookup when the agent is instantiated based on the IHandle<T> implementations.