[PR #749] [CLOSED] replace create_agent with create_react_agent #982

Closed
opened 2026-02-17 17:21:30 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/749
Author: @mcavdar
Created: 10/6/2025
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • 4d9f923 replace create_agent with create_react_agent

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/oss/python/releases/langchain-v1.mdx (+1 -1)

📄 Description

create_react_agent has moved from langgraph.prebuilts to langchain.agents. So old code should reference the previous signature.

Overview

old code should reference the old signature.

Type of change

Type: Fix typo

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed
  • I have gotten approval from the relevant reviewers

Additional notes


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/749 **Author:** [@mcavdar](https://github.com/mcavdar) **Created:** 10/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`4d9f923`](https://github.com/langchain-ai/docs/commit/4d9f92376de25642a71a5f04d210077f26ef8a12) replace create_agent with create_react_agent ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/releases/langchain-v1.mdx` (+1 -1) </details> ### 📄 Description create_react_agent has moved from langgraph.prebuilts to langchain.agents. So old code should reference the previous signature. ## Overview old code should reference the old signature. ## Type of change **Type:** Fix typo ## Related issues/PRs <!-- Link to related issues, feature PRs, or discussions (if applicable) To automatically close an issue when this PR is merged, use closing keywords: - "closes #123" or "fixes #123" or "resolves #123" For regular references without auto-closing, just use: - "#123" or "See issue #123" Examples: - closes #456 (will auto-close issue #456 when PR is merged) - See #789 for context (will reference but not auto-close issue #789) --> - GitHub issue: - Feature PR: <!-- For LangChain employees, if applicable: --> - Linear issue: - Slack thread: ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [ ] I have tested my changes locally using `docs dev` - [ ] All code examples have been tested and work correctly - [ ] I have used **root relative** paths for internal links - [ ] I have updated navigation in `src/docs.json` if needed - [ ] I have gotten approval from the relevant reviewers ## Additional notes <!-- Any other information that would be helpful for reviewers --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:21:30 -05:00
yindo closed this issue 2026-02-17 17:21:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#982