github microsoft/autogen v0.4.0.dev12

latest release: v0.4.0.dev13
pre-release10 days ago

Important Changes

  • run and run_stream now support a list of messages as task input.
  • Introduces AgentEvent union type in AgentChat, for all messages that are not meant to be consumed by other agents. Replace AgentMessage with AgentEvent | ChatMessage union type in your code, e.g., in your custom selector function for SelectorGroupChat and processing code for TaskResult.messages.
  • Introduce ToolCallSummaryMessage to ChatMessage for tool call results from agents. Read AssistantAgent Doc
  • Introduce ModelContext parameter for AssistantAgent, allow usage of BufferedChatCompletionContext to limit context window size sent to model.
  • Introduce ComponetConfig and add configuration loader for ChatCompletionClient. See Component Config
  • Moved autogen_core.tools.PythonCodeExecutorTool to autogen_ext.tools.code_execution.PythonCodeExecutionTool.
  • Documentation updates.

Upcoming Changes

  • Deprecating @message_handler. Use @event or @rpc to annotate handlers instead. @message_handler will be kept with a deprecation warning until further notice. #4828
  • Token counting mechanism bug fixes #4719

New Contributors

Full Changelog: v0.4.0.dev11...v0.4.0.dev12

Don't miss a new autogen release

NewReleases is sending notifications on new releases.