Skip to content

docs(learn): replace deprecated claude-2 example with claude-3-5-haiku#6281

Open
camgrimsec wants to merge 1 commit into
crewAIInc:mainfrom
camgrimsec:docs/replace-deprecated-claude-2-with-claude-3-5-haiku
Open

docs(learn): replace deprecated claude-2 example with claude-3-5-haiku#6281
camgrimsec wants to merge 1 commit into
crewAIInc:mainfrom
camgrimsec:docs/replace-deprecated-claude-2-with-claude-3-5-haiku

Conversation

@camgrimsec

@camgrimsec camgrimsec commented Jun 22, 2026

Copy link
Copy Markdown

The 'Connect to any LLM' guide demonstrates Anthropic usage with llm='claude-2', and the parameter reference table lists claude-2 as an example model name. Anthropic retired claude-2 on the API. Users copy-pasting either snippet hit a 'model not found' error on first run.

Swap both references to a current Anthropic model:

  • example agent: claude-3-5-haiku-20241022 (modern, low-cost)
  • table example pair: gpt-4o-mini, claude-3-5-haiku-20241022

Docs-only. No code paths.

Summary by CodeRabbit

  • Documentation
    • Updated LLM connection documentation examples to reference current Anthropic model naming in the "Changing the LLM" and "Configuration Options" sections.

The 'Connect to any LLM' guide demonstrates Anthropic usage with
llm='claude-2', and the parameter reference table lists claude-2
as an example model name. Anthropic retired claude-2 on the API.
Users copy-pasting either snippet hit a 'model not found' error
on first run.

Swap both references to a current Anthropic model:
  - example agent: claude-3-5-haiku-20241022 (modern, low-cost)
  - table example pair: gpt-4o-mini, claude-3-5-haiku-20241022

Docs-only. No code paths.

@corridor-security corridor-security Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary: This PR updates documentation examples for Anthropic model names and does not change runtime code, authentication, authorization, data handling, or network behavior.

Risk: Low risk. No exploitable security vulnerabilities were identified because the changes are documentation-only and do not introduce or modify any security-relevant code paths.

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 35c11815-abd5-47a9-9557-d020b6096ab0

📥 Commits

Reviewing files that changed from the base of the PR and between 4cbfbdb and f1a5d73.

📒 Files selected for processing (1)
  • docs/edge/en/learn/llm-connections.mdx

📝 Walkthrough

Walkthrough

Two occurrences of the deprecated Anthropic model identifier claude-2 in docs/edge/en/learn/llm-connections.mdx are replaced with claude-3-5-haiku-20241022: one in the "Using a String Identifier" code example and one in the configuration options table's model parameter description.

Changes

Anthropic model name update in LLM connections docs

Layer / File(s) Summary
Update claude-2 to claude-3-5-haiku-20241022
docs/edge/en/learn/llm-connections.mdx
The agent initialization code example and the model parameter entry in the configuration options table both replace the outdated claude-2 string with claude-3-5-haiku-20241022.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: replacing deprecated claude-2 examples with claude-3-5-haiku in the documentation. It is concise, specific, and directly reflects the primary purpose of the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant