Change8

python-v0.7.1

📦 autogenView on GitHub →
7 features🐛 5 fixes1 deprecations🔧 6 symbols

Summary

This release introduces RedisMemory, supports nested Teams in GroupChats, and enables all built-in tools for OpenAIAgent. It also includes significant upgrades for MCP and GraphRAG integrations alongside various stability fixes.

Migration Steps

  1. Upgrade GraphRAG to v2.3+ if using GraphRAG features.
  2. Update MCP dependencies to the latest version to utilize new workbench features.
  3. If using OpenAIAssistantAgent, ensure OpenAI client is updated to v1.83+ for optimal compatibility.

✨ New Features

  • OpenAIAgent now supports all built-in tools.
  • Support for nested Team instances as participants within a Team (GroupChat).
  • Introduced RedisMemory extension class for state persistence.
  • Added include_name_in_message flag to make the 'name' field optional in OpenAI chat messages.
  • Added timeout support for HTTP tools.
  • Added support for 'format': 'json' in JSON schemas.
  • Expanded MCP Workbench to support more MCP Client features.

🐛 Bug Fixes

  • Fixed JSON serialization of team state by handling datetime objects in message dumps.
  • Fixed OpenAI UnprocessableEntityError when AssistantAgent makes multiple tool calls.
  • Fixed memory formatting when adding to mem0.
  • Fixed agent loading in test service.
  • Corrected function spelling in documentation.

🔧 Affected Symbols

OpenAIAgentOpenAIAssistantAgentRedisMemoryTeamGroupChatinclude_name_in_message

⚡ Deprecations

  • OpenAIAssistantAgent was briefly deprecated/removed and then restored; version-conditioned imports applied for OpenAI versions < 1.83.