Skip to content

Commit c1504f6

Browse files
committed
Migrate from pyautogen to ag2 library
1 parent d8d9f46 commit c1504f6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/praisonai/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ call = [
9191
]
9292
train = []
9393
crewai = ["crewai>=0.32.0", "praisonai-tools>=0.0.22"]
94-
autogen = ["pyautogen==0.2.29", "praisonai-tools>=0.0.22", "crewai"]
94+
autogen = ["ag2==0.2.29", "praisonai-tools>=0.0.22", "crewai"]
9595
autogen-v4 = [
9696
"autogen-agentchat>=0.4.0",
9797
"autogen-ext[openai]>=0.4.0",
@@ -125,7 +125,7 @@ python-dotenv = ">=0.19.0"
125125
instructor = ">=1.3.3"
126126
PyYAML = ">=6.0"
127127
mcp = ">=1.6.0"
128-
pyautogen = {version = "==0.2.29", optional = true}
128+
ag2 = {version = "==0.2.29", optional = true}
129129
autogen-agentchat = {version = ">=0.4.0", optional = true}
130130
autogen-ext = {version = ">=0.4.0", optional = true}
131131
autogen-core = {version = ">=0.4.0", optional = true}
@@ -286,7 +286,7 @@ call = [
286286
"openai",
287287
]
288288
crewai = ["crewai", "praisonai-tools"]
289-
autogen = ["pyautogen", "praisonai-tools", "crewai"]
289+
autogen = ["ag2", "praisonai-tools", "crewai"]
290290
autogen-v4 = ["autogen-agentchat", "autogen-ext", "autogen-core", "praisonai-tools", "crewai"]
291291

292292
[tool.poetry-dynamic-versioning]

src/praisonai/tests/integration/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ python -m pytest tests/integration/autogen/test_autogen_basic.py::TestAutoGenInt
145145

146146
### Required for AutoGen Tests:
147147
```bash
148-
pip install pyautogen
148+
pip install ag2
149149
```
150150

151151
### Required for CrewAI Tests:
@@ -251,7 +251,7 @@ To add tests for a new framework (e.g., `langchain`):
251251
```
252252
ImportError: No module named 'autogen'
253253
```
254-
**Solution:** Install the framework: `pip install pyautogen`
254+
**Solution:** Install the framework: `pip install ag2`
255255

256256
**Path Issues:**
257257
```

0 commit comments

Comments
 (0)