[PR #900] [MERGED] fix(docs): replace state_modifier with system_prompt in create_agent #1126

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/900
Author: @casparb
Created: 10/14/2025
Status: Merged
Merged: 10/14/2025
Merged by: @eyurtsev

Base: mainHead: caspar/remove-state_modifier


📝 Commits (2)

  • 928cae5 fix(docs): replace state_modifier with prompt in create_agent
  • 4183dfd fix(docs): rename to system_prompt

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 src/langsmith/run-backtests-new-agent.mdx (+1 -1)
📝 src/langsmith/test-react-agent-pytest.mdx (+2 -2)

📄 Description

create_react_agent had a state_modifier property (which is now system_prompt) but when we did a big find-and-replace with create_agent, this property was not updated


🔄 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/900 **Author:** [@casparb](https://github.com/casparb) **Created:** 10/14/2025 **Status:** ✅ Merged **Merged:** 10/14/2025 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `caspar/remove-state_modifier` --- ### 📝 Commits (2) - [`928cae5`](https://github.com/langchain-ai/docs/commit/928cae523668da01aa84f9b2e51dbd4db0da8688) fix(docs): replace state_modifier with prompt in create_agent - [`4183dfd`](https://github.com/langchain-ai/docs/commit/4183dfd20f2af6dfcbfc9ebe3a79b44154aef5e2) fix(docs): rename to system_prompt ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/run-backtests-new-agent.mdx` (+1 -1) 📝 `src/langsmith/test-react-agent-pytest.mdx` (+2 -2) </details> ### 📄 Description create_react_agent had a state_modifier property (which is now system_prompt) but when we did a big find-and-replace with create_agent, this property was not updated --- <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:46 -05:00
yindo closed this issue 2026-02-17 17:21:46 -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#1126