Microsoft AutoGen 发布: python-v0.6.2
来源摘要
## What's New ### Streaming Tools This release introduces streaming tools and updates `AgentTool` and `TeamTool` to support `run_json_stream`. The new interface exposes the inner events of tools when calling `run_stream` of agents and teams. `AssistantAgent` is also updated to use `run_json_stream` when the tool supports streaming. So, when using `AgentTool` or `TeamTool` with `AssistantAgent`, you can receive the inner agent's or team's events through the main agent. To create new streaming tools, subclass `autogen_core.tools.BaseStreamTool` and implement `run_stream`. To create new streaming workbench, subclass `autogen_core.tools.StreamWorkbench` and implement `call_tool_stream`. * Introduce streaming tool and support streaming for `AgentTool` and `TeamTool`. by @ekzhu in https://github.com/microsoft/autogen/pull/6712 ### `tool_choice` parameter for `ChatCompletionClient` and subclasses Introduces a new parameter `tool_choice` to the `ChatCompletionClient`s `create` and `create_stream` methods. **This is also the first PR by @copliot-swe-agent!** * Add `tool_choice` parameter to `ChatCompletionClient` `create` and `create_stream` methods by @copilot-swe-agent in https://github.com/microsoft/autogen/pull/6697 ### `AssistantAgent`'s inner tool calling loop Now you can enable `AssistantAgent` with an inner tool calling loop by setting the `max_tool_iterations` parameter through its constructor. The new implementation calls the model and executes tools until (1) the model stops generating tool calls, or (2) `max_tool_iterations` has been reached. This change simplies the usage of `AssistantAgent`. * Feat/tool call loop by @tejas-dharani in https://github.com/microsoft/autogen/pull/6651 ### OpenTelemetry GenAI Traces This releases added new traces `create_agent`, `invoke_
阅读原始来源- 来源
- Microsoft AutoGen 发布 · 官方来源
- 来源发布
- 2025/07/01 08:09
- 来源更新
- 2025/07/01 08:24
- 首次采集
- 2026/09/19 13:21
本文为公开信息索引与摘要,详情及后续变化请以原始来源为准。