[PR #797] [MERGED] fix(overview): should use system_prompt #1028

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/797
Author: @aditya08jaiswal
Created: 10/9/2025
Status: Merged
Merged: 10/9/2025
Merged by: @eyurtsev

Base: mainHead: patch-1


📝 Commits (1)

📊 Changes

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

View changed files

📝 src/oss/langchain/overview.mdx (+1 -1)

📄 Description

Overview

Update documentation to reflect the API change: rename parameter prompt to system_prompt in create_agent. Updated example snippets, explanatory text, and added a short migration note for users upgrading from older versions.

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
  • (Internal team members only / optional) I have created a preview deployment using the Create Preview Branch workflow

Additional notes

  • Replace prompt="..." with system_prompt="..." in all examples and code blocks.
  • Add a visible migration note on the Overview page and changelog if this matches a breaking API change.
  • Run a repo-wide search for prompt= in /docs to ensure no occurrences remain.
  • Link the corresponding code PR (if any) so reviewers can verify the API change.

🔄 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/797 **Author:** [@aditya08jaiswal](https://github.com/aditya08jaiswal) **Created:** 10/9/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`dd670d7`](https://github.com/langchain-ai/docs/commit/dd670d719fac9821562a53ae033b8459e6e20ee4) Update overview.mdx ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/overview.mdx` (+1 -1) </details> ### 📄 Description ## Overview <!-- Brief description of what documentation is being added/updated --> Update documentation to reflect the API change: rename parameter `prompt` to `system_prompt` in `create_agent`. Updated example snippets, explanatory text, and added a short migration note for users upgrading from older versions. ## Checklist <!-- Put an 'x' in all boxes that apply --> - [ ] 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 - (Internal team members only / optional) I have created a preview deployment using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes <!-- Any other information that would be helpful for reviewers --> - Replace `prompt="..."` with `system_prompt="..."` in all examples and code blocks. - Add a visible migration note on the Overview page and changelog if this matches a breaking API change. - Run a repo-wide search for `prompt=` in `/docs` to ensure no occurrences remain. - Link the corresponding code PR (if any) so reviewers can verify the API change. --- <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:35 -05:00
yindo closed this issue 2026-02-17 17:21:35 -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#1028