Migrating to AutoGen python-v0.5.5
Version python-v0.5.5 introduces 1 breaking change. This guide details how to update your code.
Released: 4/25/2025
1
Breaking Changes
3
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
autogen_ext.tools.mcp.McpWorkbenchautogen_agentchat.agents.AssistantAgentautogen_agentchat.conditions.FunctionalTerminationautogen_ext.tools.mcp.McpToolAdapterautogen_agentchat.teams.SelectorGroupChatcreate_mcp_server_sessionBreaking Changes
●Issue #1
The 'name' field has been removed from OpenAI Assistant Messages, which may affect code relying on this specific field in message history or processing.
Migration Steps
- 1If using MCP tools that require shared state, migrate from tool adapters to 'McpWorkbench'.
- 2Remove any logic that depends on the 'name' field in OpenAI Assistant Messages.
- 3If using Playwright MCP, ensure the server is installed via 'npm install -g @playwright/mcp@latest'.
Release Summary
This release introduces the Workbench API and McpWorkbench for stateful tool management, adds a FunctionalTermination condition, and provides new integration examples for FastAPI and MCP servers.
Need More Details?
View the full release notes and all changes for AutoGen python-v0.5.5.
View Full Changelog