-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define AgentEvent, rename tool call messages to events. #4750
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about "Remove AgentMessage, always use union type ChatMessage | AgentEvent"
seems that union is used very often, maybe we just rename AgentMessage to "AgentChatMessage", I couldn't find a better name, so maybe we remove it cause there is no better name for it I guess..
My feeling is that by using separate types we are making it more explicit. Furthermore, the API documentation already expanded all possible types: https://microsoft.github.io/autogen/dev/reference/python/autogen_agentchat.ui.html |
Resolves: #4533