AgentFixboard

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

A GroupChat with speaker_selection_method="auto" errors as soon as it tries to pick the next speaker when the manager uses a custom model client.

From GitHub

microsoft/autogen

Difficulty
Easy
Time
~5 min
Steps
2
Fixed in
v0.2.37
Last checked

Verified fix: PR #2696 merged on . Fixed in v0.2.37 (first stable release containing the merge commit). Last checked .

Symptom

A GroupChat with speaker_selection_method="auto" errors as soon as it tries to pick the next speaker when the manager uses a custom model client.

Evidence what you'll see

  • Error says the model client is not activated
  • Only with a custom model client registered on the GroupChatManager
  • Speaker selection set to auto

Cause

GroupChat creates internal helper agents for speaker selection and passes them the manager's llm_config, but never registers the custom client on them.

Fix steps

0 of 2 done

Your check marks stay in this browser only.

Verify the fix worked

  • Start the group chat again and confirm the next speaker is chosen without the 'not activated' error.

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