Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions src/praisonai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ call = [
]
train = []
crewai = ["crewai>=0.148.0", "praisonai-tools>=0.0.22"]
autogen = ["pyautogen==0.2.29", "praisonai-tools>=0.0.22", "crewai"]
autogen = ["ag2>=0.3.2", "praisonai-tools>=0.0.22", "crewai"]
autogen-v4 = [
"autogen-agentchat>=0.4.0",
"autogen-ext[openai]>=0.4.0",
Expand Down Expand Up @@ -125,7 +125,7 @@ python-dotenv = ">=0.19.0"
instructor = ">=1.3.3"
PyYAML = ">=6.0"
mcp = ">=1.6.0"
pyautogen = {version = "==0.2.29", optional = true}
ag2 = {version = ">=0.3.2", optional = true}
autogen-agentchat = {version = ">=0.4.0", optional = true}
autogen-ext = {version = ">=0.4.0", optional = true}
autogen-core = {version = ">=0.4.0", optional = true}
Expand Down Expand Up @@ -286,7 +286,7 @@ call = [
"openai",
]
crewai = ["crewai", "praisonai-tools"]
autogen = ["pyautogen", "praisonai-tools", "crewai"]
autogen = ["ag2", "praisonai-tools", "crewai"]
autogen-v4 = ["autogen-agentchat", "autogen-ext", "autogen-core", "praisonai-tools", "crewai"]

[tool.poetry-dynamic-versioning]
Expand Down
4 changes: 2 additions & 2 deletions src/praisonai/tests/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ python -m pytest tests/integration/autogen/test_autogen_basic.py::TestAutoGenInt

### Required for AutoGen Tests:
```bash
pip install pyautogen
pip install ag2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To ensure a complete and correct testing environment for AutoGen integration, it's better to install the full autogen extra. This will install ag2 along with other required dependencies like praisonai-tools and crewai, as defined in pyproject.toml. This prevents potential missing dependency issues and aligns with how the application's extras are defined.

Suggested change
pip install ag2
pip install "praisonai[autogen]"

```

### Required for CrewAI Tests:
Expand Down Expand Up @@ -251,7 +251,7 @@ To add tests for a new framework (e.g., `langchain`):
```
ImportError: No module named 'autogen'
```
**Solution:** Install the framework: `pip install pyautogen`
**Solution:** Install the framework: `pip install ag2`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to the installation instruction, the solution for the ImportError should point to installing the complete autogen extra. This ensures all necessary dependencies for the AutoGen framework integration are installed correctly.

Suggested change
**Solution:** Install the framework: `pip install ag2`
**Solution:** Install the framework: `pip install "praisonai[autogen]"`


**Path Issues:**
```
Expand Down
Loading