-
Notifications
You must be signed in to change notification settings - Fork 180
Migrate from pyautogen to ag2 Library #70
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
base: feature-main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -158,7 +158,7 @@ To try out the function call feature of Claude model, you need to install `anthr | |||||
|
||||||
Tip | ||||||
|
||||||
If you have been using `autogen` or `pyautogen`, all you need to do is upgrade it using: | ||||||
If you have been using `autogen` or `ag2`, all you need to do is upgrade it using: | ||||||
|
||||||
``` | ||||||
`[](#__codelineno-1-1)pipinstall-Uautogen[anthropic] ` | ||||||
|
@@ -167,10 +167,10 @@ If you have been using `autogen` or `pyautogen`, all you need to do is upgrade i | |||||
or | ||||||
|
||||||
``` | ||||||
`[](#__codelineno-2-1)pipinstall-Upyautogen[anthropic] ` | ||||||
`[](#__codelineno-2-1)pipinstall-Uag2[anthropic] ` | ||||||
``` | ||||||
|
||||||
as `pyautogen`, `autogen`, and `ag2` are aliases for the same PyPI package. | ||||||
as `ag2`, `autogen`, and `ag2` are aliases for the same PyPI package. | ||||||
Comment on lines
+170
to
+173
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same formatting issue for the Repeat of the above:
needs the space after pip, the hyphen after install, and fenced-code formatting: -`[](#__codelineno-2-1)pipinstall-Uag2[anthropic] `
+```bash
+pip install -U ag2[anthropic]
+``` 🧰 Tools🪛 markdownlint-cli2 (0.17.2)173-173: Trailing spaces (MD009, no-trailing-spaces) 🤖 Prompt for AI Agents
|
||||||
|
||||||
Comment on lines
+173
to
174
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Alias list contains duplicated entry
-as `ag2`, `autogen`, and `ag2` are aliases for the same PyPI package.
+as `ag2` and `autogen` are aliases for the same PyPI package. 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.17.2)173-173: Trailing spaces (MD009, no-trailing-spaces) 🤖 Prompt for AI Agents
|
||||||
## Set the config for the Anthropic API[#](#set-the-config-for-the-anthropic-api "Permanent link") | ||||||
|
||||||
|
@@ -2861,7 +2861,7 @@ AG2 requires **Python version >= 3.9, < 3.14**. Install AG2 with OpenAI integrat | |||||
`[](#__codelineno-0-1)pipinstallag2[openai] ` | ||||||
``` | ||||||
|
||||||
The package is available under `ag2`, `pyautogen`, or `autogen` names. The default installation includes minimal dependencies, you can add extra options based on your specific requirements. | ||||||
The package is available under `ag2`, `ag2`, or `autogen` names. The default installation includes minimal dependencies, you can add extra options based on your specific requirements. | ||||||
|
||||||
Warning | ||||||
|
||||||
|
@@ -6621,7 +6621,7 @@ To try out the function call feature of Claude model, you need to install `anthr | |||||
|
||||||
Tip | ||||||
|
||||||
If you have been using `autogen` or `pyautogen`, all you need to do is upgrade it using: | ||||||
If you have been using `autogen` or `ag2`, all you need to do is upgrade it using: | ||||||
|
||||||
``` | ||||||
`[](#__codelineno-1-1)pipinstall-Uautogen[anthropic] ` | ||||||
|
@@ -6630,10 +6630,10 @@ If you have been using `autogen` or `pyautogen`, all you need to do is upgrade i | |||||
or | ||||||
|
||||||
``` | ||||||
`[](#__codelineno-2-1)pipinstall-Upyautogen[anthropic] ` | ||||||
`[](#__codelineno-2-1)pipinstall-Uag2[anthropic] ` | ||||||
``` | ||||||
|
||||||
as `pyautogen`, `autogen`, and `ag2` are aliases for the same PyPI package. | ||||||
as `ag2`, `autogen`, and `ag2` are aliases for the same PyPI package. | ||||||
|
||||||
## Set the config for the Anthropic API[#](#set-the-config-for-the-anthropic-api "Permanent link") | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken installation snippet – missing spaces/hyphen and fenced-code markup is corrupted
The rendered command currently shows as
which will fail if copied. It should read
pip install -U autogen[anthropic]
and be wrapped in a proper fenced-code block so Markdown doesn’t swallow the back-ticks.🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
161-161: Trailing spaces
Expected: 0 or 2; Actual: 1
(MD009, no-trailing-spaces)
163-163: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents