Agent FixboardAgentFixboard

Group chat fails with 'model client not activated' when the manager uses a custom client

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.

From GitHub

microsoft/autogen

Difficulty
Moderate
Time
~15 min
Steps
3
Fixed in
v0.2.37
Last checked

Verified fix: PR #2696 merged on . Fixed in v0.2.37 (first published release whose tag contains the merge commit). Last checked .

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 GroupChat with speaker_selection_method="auto", create a GroupChatManager whose llm_config is a custom model client, register that client on the manager, then start the chat.
  • The report points at the unregistered speaker_selection_agent in groupchat.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 activated failure 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