[PR #1130] [MERGED] Update PIIMiddleware configuration in agent setup #1318

Closed
opened 2026-02-17 17:22:08 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1130
Author: @mcavdar
Created: 10/25/2025
Status: Merged
Merged: 10/27/2025
Merged by: @mdrxy

Base: mainHead: patch-7


📝 Commits (2)

  • 6423da2 Update PIIMiddleware configuration in agent setup
  • 89ffc90 Merge branch 'main' into patch-7

📊 Changes

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

View changed files

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

📄 Description

Overview

The current configuration raises an error. I just replaced it with a working example.

Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
TypeError: PIIMiddleware.__init__() got an unexpected keyword argument 'patterns'

Type of change

Type: [bug/Remove outdated content]

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
  • (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/1130 **Author:** [@mcavdar](https://github.com/mcavdar) **Created:** 10/25/2025 **Status:** ✅ Merged **Merged:** 10/27/2025 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `patch-7` --- ### 📝 Commits (2) - [`6423da2`](https://github.com/langchain-ai/docs/commit/6423da214972ca622717818ab590e8f1c49d00c2) Update PIIMiddleware configuration in agent setup - [`89ffc90`](https://github.com/langchain-ai/docs/commit/89ffc900bfd15574addfaf43707d2227e06b13a4) Merge branch 'main' into patch-7 ### 📊 Changes **1 file changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/releases/langchain-v1.mdx` (+10 -1) </details> ### 📄 Description ## Overview The current configuration raises an error. I just replaced it with a working example. ``` Traceback (most recent call last): File "<stdin>", line 5, in <module> TypeError: PIIMiddleware.__init__() got an unexpected keyword argument 'patterns' ``` ## Type of change **Type:** [bug/Remove outdated content] ## 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) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] 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:22:08 -05:00
yindo closed this issue 2026-02-17 17:22:08 -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#1318