AutoGen errors / Version

ValueError: Message type StructuredMessage[AgentResponse] is not registered.

platform: AutoGen / category: Version / versions: autogen-agentchat>=0.6.4

Cause

Since autogen-agentchat 0.6.4 the Teams integration changed message-type registration; agents using output_content_type add custom StructuredMessage subtypes never registered with the group-chat container, so logging raises ValueError.

Fix

Downgrade to autogen-agentchat==0.6.2 as a temporary workaround. Remove output_content_type from affected agents if the structured type is not strictly required. Watch issues #6795 and #6983 for an official patch that registers custom message types at group-chat init.

Source thread →

Part of the Automation Error Index — AutoGen errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem