-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Make AgentChat Teams Declarative #5071
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5071 +/- ##
==========================================
+ Coverage 69.91% 70.61% +0.70%
==========================================
Files 168 174 +6
Lines 10698 11111 +413
==========================================
+ Hits 7479 7846 +367
- Misses 3219 3265 +46
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Some updates on this effort on here so we can have a broader discussion. There are a few current issues with making teams declarative (or more generally - elements that inherit from a protocol cannot be declarative in the current setup without mypy/build errors). The short story is that:
Similar situation with SocietyofMindAgent. It has a team field that inherits from the Team protocol. While we can serialize base Team classes, mypy still fails as the Team protocol itself cannot cannot inherit from ComponentBase. Some potential solutions/directions
|
Just a comment on the name. This work is not to make agent chat declarative -- the agentchat API is already declartive. It is to make the configuration serializable. So should update the title and fix how we mention it for precise language. |
Why are these changes needed?
Support a developer experience where an AgentChat team configuration can be serialized to a declarative specification.
TBD
Related issue number
Closes #5064
Checks