[PR #1430] [CLOSED] fix(langchain): improved JS docs for provider middleware #1563

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1430
Author: @christian-bromann
Created: 11/14/2025
Status: Closed

Base: mainHead: cb/provider-middleware-docs


📝 Commits (2)

  • 1e77c1d fix(langchain): better document anthropicPromptCachingMiddleware for JS
  • 8a97daa add docs for openAIModerationMiddleware

📊 Changes

2 files changed (+199 additions, -0 deletions)

View changed files

📝 pipeline/preprocessors/link_map.py (+1 -0)
📝 src/oss/langchain/middleware/built-in.mdx (+198 -0)

📄 Description

This patch updates:

  • JS docs on anthropicPromptCachingMiddleware
  • JS docs on openAIModerationMiddleware

⚠️ please wait merging this until https://github.com/langchain-ai/langchainjs/pull/9411 landed.


🔄 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/1430 **Author:** [@christian-bromann](https://github.com/christian-bromann) **Created:** 11/14/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `cb/provider-middleware-docs` --- ### 📝 Commits (2) - [`1e77c1d`](https://github.com/langchain-ai/docs/commit/1e77c1d6b118c4ab18767a92235408b0e73fdcf4) fix(langchain): better document anthropicPromptCachingMiddleware for JS - [`8a97daa`](https://github.com/langchain-ai/docs/commit/8a97daac47faf35c226973e3a97e4030d95d8018) add docs for openAIModerationMiddleware ### 📊 Changes **2 files changed** (+199 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/preprocessors/link_map.py` (+1 -0) 📝 `src/oss/langchain/middleware/built-in.mdx` (+198 -0) </details> ### 📄 Description This patch updates: - JS docs on `anthropicPromptCachingMiddleware` - JS docs on `openAIModerationMiddleware` ⚠️ please wait merging this until https://github.com/langchain-ai/langchainjs/pull/9411 landed. --- <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:29 -05:00
yindo closed this issue 2026-02-17 17:22:29 -05:00
yindo changed title from [PR #1430] fix(langchain): improved JS docs for provider middleware to [PR #1430] [CLOSED] fix(langchain): improved JS docs for provider middleware 2026-06-05 18:13:40 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#1563