docs(learn): replace deprecated claude-2 example with claude-3-5-haiku#6281
Conversation
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.
There was a problem hiding this comment.
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.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughTwo occurrences of the deprecated Anthropic model identifier ChangesAnthropic model name update in LLM connections docs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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:
Docs-only. No code paths.
Summary by CodeRabbit