Change8

python-v0.7.2

Breaking Changes
📦 autogenView on GitHub →
2 breaking4 features🐛 1 fixes🔧 8 symbols

Summary

Release 0.7.2 introduces Redis memory enhancements for JSON/Markdown, adds execution approval functions, and migrates MagenticOne to Docker-based code execution by default while cleaning up OpenAIAgent methods.

⚠️ Breaking Changes

  • Assistant-related methods have been removed from OpenAIAgent. Users should transition to OpenAIAssistantAgent for assistant-specific functionality.
  • MagenticOne team now defaults to DockerCommandLineCodeExecutor, which requires a Docker environment to be available.

Migration Steps

  1. If using OpenAIAgent for assistant-specific tasks, migrate those calls to OpenAIAssistantAgent.
  2. Ensure Docker is installed and running if using the MagenticOne team, as it now defaults to the Docker-based code executor.

✨ New Features

  • Added approval_func option to CodeExecutorAgent for manual code execution oversight.
  • Added parallel_tool_call configuration support to the OpenAI model client.
  • Added support for JSON and MARKDOWN formats in Redis agent memory.
  • MagenticOne team now uses DockerCommandLineCodeExecutor as the default executor.

🐛 Bug Fixes

  • Fixed structured logging serialization data loss issues related to SerializeAsAny annotations.

🔧 Affected Symbols

OpenAIAgentOpenAIAssistantAgentMagenticOneDockerCommandLineCodeExecutorCodeExecutorAgentAgentToolTeamToolRedis agent memory