mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 23:07:11 +00:00
**Description:** This PR updates approximately 4' occurences of the deprecated `initialize_agent` function in LangChain documentation and examples, replacing it with the recommended `create_react_agent` and pattern. It also refactors related examples to align with current best practices. **Issue:** Partially Fixes #29277 **Dependencies:** None **X handle:** @TK1475 --------- Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
LangChain Documentation
For more information on contributing to our documentation, see the Documentation Contributing Guide