Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all versions to 0.4.0 #4941

Merged
merged 8 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

```bash
# Install AgentChat and OpenAI client from Extensions
pip install "autogen-agentchat" "autogen-ext[openai]"
pip install -U "autogen-agentchat" "autogen-ext[openai]"
```

The current stable version is v0.4. If you are upgrading from AutoGen v0.2, please refer to the [Migration Guide](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/migration-guide.html) for detailed instructions on how to update your code and configurations.
Expand All @@ -44,7 +44,7 @@ Create a group chat team with an assistant agent, a web surfer agent, and a user
for web browsing tasks. You need to install [playwright](https://playwright.dev/python/docs/library).

```python
# pip install autogen-agentchat autogen-ext[openai,web-surfer]
# pip install -U autogen-agentchat autogen-ext[openai,web-surfer]
# playwright install
import asyncio
from autogen_agentchat.agents import AssistantAgent, UserProxyAgent
Expand Down
2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AutoGen Python packages

[![0.4 Docs](https://img.shields.io/badge/Docs-0.4-blue)](https://microsoft.github.io/autogen/dev/)
[![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/0.4.0.dev13/) [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/0.4.0.dev13/) [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/0.4.0.dev13/)
[![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/) [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/) [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/)

This directory works as a single `uv` workspace containing all project packages. See [`packages`](./packages/) to discover all project packages.

Expand Down
4 changes: 2 additions & 2 deletions python/packages/autogen-agentchat/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "autogen-agentchat"
version = "0.4.0.dev13"
version = "0.4.0"
license = {file = "LICENSE-CODE"}
description = "AutoGen agents and teams library"
readme = "README.md"
Expand All @@ -15,7 +15,7 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"autogen-core==0.4.0.dev13",
"autogen-core==0.4.0",
"aioconsole>=0.8.1"
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</li>
<li class="toctree-l1">
<a target="_blank" class="reference internal"
href="https://pypi.org/project/autogen-agentchat/0.4.0.dev13/">
href="https://pypi.org/project/autogen-agentchat/">
<i class="fa-brands fa-python"></i>
PyPi
<i class="fa-solid fa-arrow-up-right-from-square fa-2xs"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</a>
</li>
<li class="toctree-l1">
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-core/0.4.0.dev13/">
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-core/">
<i class="fa-brands fa-python"></i>
PyPi
<i class="fa-solid fa-arrow-up-right-from-square fa-2xs"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</a>
</li>
<li class="toctree-l1">
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-ext/0.4.0.dev13/">
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-ext/">
<i class="fa-brands fa-python"></i>
PyPi
<i class="fa-solid fa-arrow-up-right-from-square fa-2xs"></i>
Expand Down
6 changes: 3 additions & 3 deletions python/packages/autogen-core/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Get Started
<div class="sd-card-title sd-font-weight-bold docutils">

{fas}`people-group;pst-color-primary` AgentChat
[![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/0.4.0.dev13/)
[![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/)

</div>
A programming framework for building conversational single and multi-agent applications.
Expand Down Expand Up @@ -136,7 +136,7 @@ Get Started

:::

:::{grid-item-card} {fas}`cube;pst-color-primary` Core [![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/0.4.0.dev13/)
:::{grid-item-card} {fas}`cube;pst-color-primary` Core [![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/)
:shadow: none
:margin: 2 0 0 0
:columns: 12 12 12 12
Expand All @@ -159,7 +159,7 @@ Get Started

:::

:::{grid-item-card} {fas}`puzzle-piece;pst-color-primary` Extensions [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/0.4.0.dev13/)
:::{grid-item-card} {fas}`puzzle-piece;pst-color-primary` Extensions [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/)
:shadow: none
:margin: 2 0 0 0
:columns: 12 12 12 12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Install the `autogen-agentchat` package using pip:

```bash

pip install "autogen-agentchat==0.4.0.dev13"
pip install -U "autogen-agentchat"
```

```{note}
Expand All @@ -74,7 +74,7 @@ To use the OpenAI and Azure OpenAI models, you need to install the following
extensions:

```bash
pip install "autogen-ext[openai]==0.4.0.dev13"
pip install "autogen-ext[openai]"
```

If you are using Azure OpenAI with AAD authentication, you need to install the following:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Be aware that agents may occasionally attempt risky actions, such as recruiting

Install the required packages:
```bash
pip install autogen-agentchat==0.4.0.dev13 autogen-ext[magentic-one,openai]==0.4.0.dev13
pip install autogen-agentchat autogen-ext[magentic-one,openai]

# If using the MultimodalWebSurfer, you also need to install playwright dependencies:
playwright install --with-deps chromium
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"outputs": [],
"source": [
"pip install \"autogen-agentchat==0.4.0.dev13\" \"autogen-ext[openai,azure]==0.4.0.dev13\""
"pip install -U \"autogen-agentchat\" \"autogen-ext[openai,azure]\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"outputs": [],
"source": [
"pip install \"autogen-ext[openai]==0.4.0.dev13\""
"pip install \"autogen-ext[openai]\""
]
},
{
Expand Down Expand Up @@ -108,7 +108,7 @@
},
"outputs": [],
"source": [
"pip install \"autogen-ext[openai,azure]==0.4.0.dev13\""
"pip install \"autogen-ext[openai,azure]\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"````{note}\n",
"The distributed agent runtime requires extra dependencies, install them using:\n",
"```bash\n",
"pip install \"autogen-ext[grpc]==0.4.0.dev13\"\n",
"pip install \"autogen-ext[grpc]\"\n",
"```\n",
"````\n",
"\n",
Expand Down Expand Up @@ -222,4 +222,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Install the `autogen-core` package using pip:

```bash

pip install "autogen-core==0.4.0.dev13"
pip install "autogen-core"
```

```{note}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ myst:
First-part maintained extensions are available in the `autogen-ext` package.

```sh
pip install "autogen-ext==0.4.0.dev13"
pip install "autogen-ext"
```

Extras:
Expand Down
4 changes: 2 additions & 2 deletions python/packages/autogen-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "autogen-core"
version = "0.4.0.dev13"
version = "0.4.0"
license = {file = "LICENSE-CODE"}
description = "Foundational interfaces and agent runtime implementation for AutoGen"
readme = "README.md"
Expand Down Expand Up @@ -69,7 +69,7 @@ dev = [
"pygments",
"sphinxext-rediraffe",

"autogen_ext==0.4.0.dev13",
"autogen_ext==0.4.0",

# Documentation tooling
"sphinx-autobuild",
Expand Down
12 changes: 6 additions & 6 deletions python/packages/autogen-ext/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "autogen-ext"
version = "0.4.0.dev13"
version = "0.4.0"
license = {file = "LICENSE-CODE"}
description = "AutoGen extensions library"
readme = "README.md"
Expand All @@ -15,7 +15,7 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"autogen-core==0.4.0.dev13",
"autogen-core==0.4.0",
]

[project.optional-dependencies]
Expand All @@ -24,23 +24,23 @@ azure = ["azure-core", "azure-identity"]
docker = ["docker~=7.0"]
openai = ["openai>=1.52.2", "tiktoken>=0.8.0", "aiofiles"]
file-surfer = [
"autogen-agentchat==0.4.0.dev13",
"autogen-agentchat==0.4.0",
"markitdown>=0.0.1a2",
]
web-surfer = [
"autogen-agentchat==0.4.0.dev13",
"autogen-agentchat==0.4.0",
"playwright>=1.48.0",
"pillow>=11.0.0",
"markitdown>=0.0.1a2",
]
magentic-one = [
"autogen-agentchat==0.4.0.dev13",
"autogen-agentchat==0.4.0",
"markitdown>=0.0.1a2",
"playwright>=1.48.0",
"pillow>=11.0.0",
]
video-surfer = [
"autogen-agentchat==0.4.0.dev13",
"autogen-agentchat==0.4.0",
"opencv-python>=4.5",
"ffmpeg-python",
"openai-whisper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class FileSurfer(BaseChatAgent):
.. code-block:: bash
pip install "autogen-ext[file-surfer]==0.4.0.dev13"
pip install "autogen-ext[file-surfer]"
Args:
name (str): The agent's name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class OpenAIAssistantAgent(BaseChatAgent):
.. code-block:: bash
pip install "autogen-ext[openai]==0.4.0.dev13"
pip install "autogen-ext[openai]"
This agent leverages the OpenAI Assistant API to create AI assistants with capabilities like:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class VideoSurfer(AssistantAgent):
.. code-block:: bash
pip install "autogen-ext[video-surfer]==0.4.0.dev13"
pip install "autogen-ext[video-surfer]"
This agent utilizes various tools to extract information from the video, such as its length, screenshots at specific timestamps, and audio transcriptions. It processes these elements to provide detailed answers to user queries.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MultimodalWebSurfer(BaseChatAgent):
.. code-block:: bash
pip install "autogen-ext[web-surfer]==0.4.0.dev13"
pip install "autogen-ext[web-surfer]"
It launches a chromium browser and allows the playwright to interact with the web browser and can perform a variety of actions. The browser is launched on the first call to the agent and is reused for subsequent calls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ACADynamicSessionsCodeExecutor(CodeExecutor):
.. code-block:: bash
pip install "autogen-ext[azure]==0.4.0.dev13"
pip install "autogen-ext[azure]"
.. caution::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DockerCommandLineCodeExecutor(CodeExecutor):
.. code-block:: bash
pip install "autogen-ext[docker]==0.4.0.dev13"
pip install "autogen-ext[docker]"
The executor first saves each code block in a file in the working
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from ._openai_client import AzureOpenAIChatCompletionClient, OpenAIChatCompletionClient, BaseOpenAIChatCompletionClient
from ._openai_client import AzureOpenAIChatCompletionClient, BaseOpenAIChatCompletionClient, OpenAIChatCompletionClient
from .config import (
AzureOpenAIClientConfigurationConfigModel,
OpenAIClientConfigurationConfigModel,
BaseOpenAIClientConfigurationConfigModel,
CreateArgumentsConfigModel,
OpenAIClientConfigurationConfigModel,
)

__all__ = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ class OpenAIChatCompletionClient(BaseOpenAIChatCompletionClient, Component[OpenA
.. code-block:: bash
pip install "autogen-ext[openai]==0.4.0.dev13"
pip install "autogen-ext[openai]"
The following code snippet shows how to use the client with an OpenAI model:
Expand Down Expand Up @@ -1062,7 +1062,7 @@ class AzureOpenAIChatCompletionClient(
.. code-block:: bash
pip install "autogen-ext[openai,azure]==0.4.0.dev13"
pip install "autogen-ext[openai,azure]"
To use the client, you need to provide your deployment id, Azure Cognitive Services endpoint,
api version, and model capabilities.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class MagenticOne(MagenticOneGroupChat):
.. code-block:: bash
pip install "autogen-ext[magentic-one]==0.4.0.dev13"
pip install "autogen-ext[magentic-one]"
Args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PythonCodeExecutionTool(BaseTool[CodeExecutionInput, CodeExecutionResult])
.. code-block:: bash
pip install "autogen-agentchat==0.4.0.dev13" "autogen-ext[openai]==0.4.0.dev13" "yfinance" "matplotlib"
pip install -U "autogen-agentchat" "autogen-ext[openai]" "yfinance" "matplotlib"
.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion python/packages/autogen-studio/autogenstudio/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION = "0.4.0.dev41"
VERSION = "0.4.0"
__version__ = VERSION
APP_NAME = "autogenstudio"
6 changes: 3 additions & 3 deletions python/packages/autogen-studio/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ dependencies = [
"alembic",
"loguru",
"pyyaml",
"autogen-core==0.4.0.dev13",
"autogen-agentchat==0.4.0.dev13",
"autogen-ext[magentic-one]==0.4.0.dev13"
"autogen-core==0.4.0",
"autogen-agentchat==0.4.0",
"autogen-ext[magentic-one]==0.4.0"
]
optional-dependencies = {web = ["fastapi", "uvicorn"], database = ["psycopg"]}

Expand Down
2 changes: 1 addition & 1 deletion python/samples/agentchat_chainlit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
chainlit
autogen-agentchat==0.4.0.dev13
autogen-agentchat==0.4.0
2 changes: 1 addition & 1 deletion python/samples/core_async_human_in_the_loop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ An example showing human-in-the-loop which waits for human input before making t
First, you need a shell with AutoGen core and required dependencies installed.

```bash
pip install "autogen-core==0.4.0.dev13" "autogen-ext[openai,azure]==0.4.0.dev13"
pip install "autogen-core" "autogen-ext[openai,azure]"
```

### Model Configuration
Expand Down
2 changes: 1 addition & 1 deletion python/samples/core_chess_game/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ An example with two chess player agents that executes its own tools to demonstra
First, you need a shell with AutoGen core and required dependencies installed.

```bash
pip install "autogen-core==0.4.0.dev13" "autogen-ext[openai,azure]==0.4.0.dev13" "chess"
pip install "autogen-core" "autogen-ext[openai,azure]" "chess"
```
### Model Configuration

Expand Down
Loading
Loading