Symptom
A group chat with speaker_selection_method="auto" and a custom model client on the manager fails when it tries to pick the next speaker. The linked issue does not include the traceback text. It names the failure model client not activated.
Evidence what you'll see
- The report's steps are: create a
GroupChatwithspeaker_selection_method="auto", create aGroupChatManagerwhosellm_configis a custom model client, register that client on the manager, then start the chat. - The report points at the unregistered
speaker_selection_agentingroupchat.py.
Why it happens
Group chat builds an internal helper, the speaker_selection_agent, and copies the manager's llm_config onto it. It does not register the custom model client on that helper, so the helper tries to speak with a client that was never activated. The report says the same gap exists for other agents the library creates for you, for example Teachability's analyzer.
Affected versions
The linked issue does not name an AutoGen version, a Python version, or an operating system. It shows up when the manager's client is a custom model client.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
How to check it worked
- Start the same group chat. The next speaker is chosen, and the
model client not activatedfailure does not appear.
If it still fails
- The report also names Teachability's internal
analyzer. The pull request title covers group chat registration. The linked issue does not say that pull request registers every internal agent.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it