messages
autogen.messages.wrap_message
wrap_message
Wrap a message class with a type field to be used in a union type
This is needed for proper serialization and deserialization of messages in a union type.
Name | Description |
---|---|
message_cls | Message class to wrap Type: type[BaseMessage] |