Enable dumping SelectorGroupChat selector_func
and candidate_func
#6438
HodeiG
started this conversation in
Feature suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I've noticed that in SelectorGroupChat, the selector_func and candidate_func are not being serialized when calling team.dump_component().
Looking at the source code, it appears that dumping of selector_func is explicitly disabled, and there is currently no logic implemented to dump candidate_func:
autogen/python/packages/autogen-agentchat/src/autogen_agentchat/teams/_group_chat/_selector_group_chat.py
Line 560 in 8efa1f1
Would it be possible to consider enabling serialization of these functions in a future update? This would be very helpful for saving and restoring full team configurations, especially when using custom logic for role selection.
Thanks for the great work on this project!
Beta Was this translation helpful? Give feedback.
All reactions