Closed marklysze closed 1 month ago
@marklysze have you tested this PR.
Hey @Hk669, yes, I've tested it and also passes pytest :)
I'm in the process of adding some documentation before final review.
Okay, @Hk669, I've added a documentation page as well, so good for review.
Thanks @marklysze , let me go through the docs and test it locally.
@Hk669 Have you finished testing? Thank you!
Why are these changes needed?
If you are you using a custom model client class and want to use it for the the inner speaker selection chat when using
auto
speaker selection, it isn't possible at the moment as it uses the GroupChatManager's config by default.This addresses this bug by registering the custom model client class during the creation of the inner
speaker_selection_agent
.To assign a custom model client class and config to the inner
auto
speaker selection agent you need to register the config and client class with the GroupChat object, see example below.Two new properties exist:
Documentation update to come.
Related issue number
Raised by Jason_DataScience on Discord.
Checks