Skip to content

Migrate from pyautogen to ag2 Library #23

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion examples/api/autogen_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

1. First, make sure that you have installed AutoGen as well as memoryscope.
```
pip install pyautogen memoryscope
pip install ag2 memoryscope

Choose a reason for hiding this comment

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

critical

This change updates the installation command to use ag2, but the associated example script examples/api/autogen_example.py has not been updated.

The PR description itself mentions that "this migration primarily involves updating library imports and usage." However, the Python script still contains from autogen import ... on line 3, which will likely cause an ImportError when using the ag2 package.

This inconsistency will cause the example to fail. To complete the migration, examples/api/autogen_example.py must also be updated to use the correct imports from the ag2 library.

```


Expand Down