Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -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] `
Comment on lines +161 to 164
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Broken installation snippet – missing spaces/hyphen and fenced-code markup is corrupted

The rendered command currently shows as

pipinstall-Uautogen[anthropic]

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.

-`[](#__codelineno-1-1)pipinstall-Uautogen[anthropic] `
+```bash
+pip install -U autogen[anthropic]
+```
🧰 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
In storage/markdown/docs_ag2_ai_latest_docs_user-guide_models_anthropic.md
around lines 161 to 164, the installation command is incorrectly formatted
without spaces and hyphens, and the fenced code block syntax is broken. Fix the
command to read "pip install -U autogen[anthropic]" with proper spaces and
hyphen, and wrap it inside a correct fenced code block using triple backticks
and specifying "bash" for syntax highlighting.

Expand All @@ -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
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Same formatting issue for the ag2 command

Repeat of the above:

pipinstall-Uag2[anthropic]

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
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)

🤖 Prompt for AI Agents
In storage/markdown/docs_ag2_ai_latest_docs_user-guide_models_anthropic.md
around lines 170 to 173, the command `pipinstall-Uag2[anthropic]` is incorrectly
formatted without spaces and hyphens and lacks fenced code block formatting. Fix
this by adding spaces and hyphens to form `pip install -U ag2[anthropic]` and
wrap the command in a fenced code block with the language identifier `bash` for
proper formatting.


Comment on lines +173 to 174
Copy link

Choose a reason for hiding this comment

The 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 …”

ag2 is repeated. If pyautogen is intentionally removed, drop the duplicate:

-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

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
as `ag2`, `autogen`, and `ag2` are aliases for the same PyPI package.
as `ag2` and `autogen` are aliases for the same PyPI package.
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

173-173: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)

🤖 Prompt for AI Agents
In storage/markdown/docs_ag2_ai_latest_docs_user-guide_models_anthropic.md at
lines 173 to 174, the alias list contains a duplicated entry for `ag2`. Remove
the repeated `ag2` so the list only includes unique aliases, ensuring clarity
and correctness in the documentation.

## Set the config for the Anthropic API[#](#set-the-config-for-the-anthropic-api "Permanent link")

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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] `
Expand All @@ -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")

Expand Down