[PR #1104] [MERGED] fix(docs): fix typo in example (Middleware → AgentMiddleware) #1299

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1104
Author: @Nischal2015
Created: 10/23/2025
Status: Merged
Merged: 10/24/2025
Merged by: @eyurtsev

Base: mainHead: fix-release-notes-docs-typo


📝 Commits (1)

  • 1fd8f8d fix(docs): fix typo in example (Middleware → AgentMiddleware)

📊 Changes

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

View changed files

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

📄 Description

Overview

Fixes a small typo in the LangChain documentation where Middleware was used instead of AgentMiddleware in an example for ExpertiseBasedToolMiddleware.

Type of change

Type: Fix typo/bug/link/formatting

Related issues/PRs

  • None

Checklist

  • I have read the contributing guidelines
  • I have verified the class name in the current LangChain API
  • All code examples have been tested and work correctly
  • Root relative paths verified
  • N/A — no navigation updates needed
  • I have gotten approval from the relevant reviewers

Additional notes

This change aligns the example with the current LangChain API (AgentMiddleware is the correct base class).


🔄 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/1104 **Author:** [@Nischal2015](https://github.com/Nischal2015) **Created:** 10/23/2025 **Status:** ✅ Merged **Merged:** 10/24/2025 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `fix-release-notes-docs-typo` --- ### 📝 Commits (1) - [`1fd8f8d`](https://github.com/langchain-ai/docs/commit/1fd8f8da245f9af9afcb15c6066d0d6fd9edffe6) fix(docs): fix typo in example (Middleware → AgentMiddleware) ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/releases/langchain-v1.mdx` (+1 -1) </details> ### 📄 Description ## Overview Fixes a small typo in the LangChain documentation where `Middleware` was used instead of `AgentMiddleware` in an example for `ExpertiseBasedToolMiddleware`. ## Type of change **Type:** Fix typo/bug/link/formatting ## Related issues/PRs - None ## Checklist - [x] I have read the [contributing guidelines](README.md) - [x] I have verified the class name in the current LangChain API - [x] All code examples have been tested and work correctly - [x] Root relative paths verified - [x] N/A — no navigation updates needed - [x] I have gotten approval from the relevant reviewers ## Additional notes This change aligns the example with the current LangChain API (`AgentMiddleware` is the correct base class). --- <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:06 -05:00
yindo closed this issue 2026-02-17 17:22:06 -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#1299