[PR #795] [MERGED] Update middleware.mdx #1026

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/795
Author: @gama2219
Created: 10/8/2025
Status: Merged
Merged: 10/9/2025
Merged by: @lnhsingh

Base: mainHead: patch-1


📝 Commits (1)

📊 Changes

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

View changed files

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

📄 Description

Overview

Updated the code example for AnthropicPromptCachingMiddleware and create_agent to use the correct argument for the long system instruction.Use system_prompt instead of prompt in create_agent .

Type of change

Type: Update existing documentation

Checklist

  • I have read the contributing guidelines
  • [ x] I have tested my changes locally using docs dev
  • [ x] 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


🔄 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/795 **Author:** [@gama2219](https://github.com/gama2219) **Created:** 10/8/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f6e699e`](https://github.com/langchain-ai/docs/commit/f6e699ebe40abb57d4654cd4386edbb2650399d7) Update middleware.mdx ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/middleware.mdx` (+1 -1) </details> ### 📄 Description ## Overview Updated the code example for `AnthropicPromptCachingMiddleware` and `create_agent` to use the correct argument for the long system instruction.Use `system_prompt` instead of `prompt` in `create_agent` . ## Type of change **Type:** Update existing documentation ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [ x] I have tested my changes locally using `docs dev` - [ x] 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 --> --- <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#1026